diff --git a/gramps/gen/db/write.py b/gramps/gen/db/write.py index fbab4f38c..f7031ec8c 100644 --- a/gramps/gen/db/write.py +++ b/gramps/gen/db/write.py @@ -425,8 +425,6 @@ class DbBsddb(DbBsddbRead, DbWriteBase, UpdateCallback): (grampsdb_path, db_code) = os.path.split(dirname) dotgramps_path = os.path.dirname(grampsdb_path) zipname = title + time.strftime("_%Y-%m-%d_%H-%M-%S") + ".zip" - if sys.version_info[0] < 3: - zipname = zipname.encode(glocale.getfilesystemencoding()) zippath = os.path.join(dotgramps_path, zipname) myzip = zipfile.ZipFile(zippath, 'w') for filename in os.listdir(dirname):