diff --git a/src/Utils.py b/src/Utils.py index 9f9e91396..1cac3a9a8 100644 --- a/src/Utils.py +++ b/src/Utils.py @@ -47,10 +47,9 @@ LOG = logging.getLogger(".") #------------------------------------------------------------------------- from gen.display.name import displayer as name_displayer import gen.lib -from gen.errors import DatabaseError -from gen.datehandler import displayer as date_displayer, codeset +from gen.datehandler import codeset from gen.config import config -from const import GRAMPS_UUID, IMAGE_DIR +from const import GRAMPS_UUID from gen.constfunc import mac, win from gen.ggettext import sgettext as _ from gen.utils.name import family_name diff --git a/src/gen/utils/unknown.py b/src/gen/utils/unknown.py index e35ad7af9..c87a3d7cb 100644 --- a/src/gen/utils/unknown.py +++ b/src/gen/utils/unknown.py @@ -40,6 +40,7 @@ import time #------------------------------------------------------------------------- import gen.lib from Utils import create_id +from const import IMAGE_DIR from gen.ggettext import sgettext as _ #-------------------------------------------------------------------------