Don't import gramps_main until logging is setup.

svn: r9041
This commit is contained in:
Brian Matherly
2007-09-30 02:51:38 +00:00
parent 91f4d3c3be
commit 07a96a7333
2 changed files with 4 additions and 1 deletions

View File

@ -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: