From fbe500a5cb6d218bc1632c3a76fe8231aed21674 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Fri, 18 Oct 2013 19:59:39 +0000 Subject: [PATCH] 7138: missing import in editmediaref.py svn: r23336 --- gramps/gui/editors/editmediaref.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gramps/gui/editors/editmediaref.py b/gramps/gui/editors/editmediaref.py index b205d90ec..df61f955f 100644 --- a/gramps/gui/editors/editmediaref.py +++ b/gramps/gui/editors/editmediaref.py @@ -29,8 +29,7 @@ # Standard python modules # #------------------------------------------------------------------------- -from gramps.gen.const import GRAMPS_LOCALE as glocale -_ = glocale.translation.sgettext +import os #------------------------------------------------------------------------- # @@ -45,6 +44,8 @@ from gi.repository import Gdk # gramps modules # #------------------------------------------------------------------------- +from gramps.gen.const import GRAMPS_LOCALE as glocale +_ = glocale.translation.sgettext from ..utils import open_file_with_default_application from gramps.gen.const import THUMBSCALE from gramps.gen.mime import get_description, get_type