diff --git a/gramps/gen/utils/file.py b/gramps/gen/utils/file.py index 9b9dd7b2c..fd5cef367 100644 --- a/gramps/gen/utils/file.py +++ b/gramps/gen/utils/file.py @@ -95,11 +95,10 @@ def get_empty_tempdir(dirname): or for inadequate permissions to delete dir/files or create dir(s) """ - dirpath = os.path.join(TEMP_DIR,dirname) + dirpath = os.path.join(TEMP_DIR,cuni(dirname)) if os.path.isdir(dirpath): shutil.rmtree(dirpath) os.makedirs(dirpath) - dirpath = get_unicode_path_from_env_var(dirpath) return dirpath def rm_tempdir(path):