From 697e5cb4560c217d021fc6758746a4f019be502b Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Tue, 20 May 2003 04:52:44 +0000 Subject: [PATCH] Correction svn: r1547 --- src/gramps_main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gramps_main.py b/src/gramps_main.py index 8cdba7db7..b32754c9c 100755 --- a/src/gramps_main.py +++ b/src/gramps_main.py @@ -951,6 +951,7 @@ class Gramps: ReadXML.importData(self.db,dbname,None) except: print "Error importing %s" % filename + os._exit(1) elif format == 'gramps-pkg': # Create tempdir, if it does not exist, then check for writability tmpdir_path = os.path.expanduser("~/.gramps/tmp" ) @@ -983,6 +984,7 @@ class Gramps: ReadXML.importData(self.db,dbname,None) except: print "Error importing %s" % filename + os._exit(1) # Clean up tempdir after ourselves files = os.listdir(tmpdir_path) for fn in files: