diff --git a/ChangeLog b/ChangeLog index ec1246f77..38091d735 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2007-09-29 Brian Matherly + * src/gramps.py: Don't import gramps_main until logging is setup. + 2007-09-29 Benny Malengier * src/GrampsDb/_ReadXML.py: remove bug: no more creation of objects if bookmark is found with handle that is not in database. This causes corruption of database! diff --git a/src/gramps.py b/src/gramps.py index a105b4ec0..8f16467a0 100644 --- a/src/gramps.py +++ b/src/gramps.py @@ -94,7 +94,6 @@ gettext.install("gramps",loc,unicode=1) # gramps libraries # #------------------------------------------------------------------------- -import gramps_main import gobject try: @@ -169,6 +168,7 @@ def run(): pass try: + import gramps_main gramps_main.Gramps(args) except SystemExit, e: if e.code: