From a1087fbefb332344cd1433e62c18c44b22e1b8dd Mon Sep 17 00:00:00 2001 From: David Brown Date: Sat, 15 Jul 2023 21:32:36 -0700 Subject: [PATCH] unlink zipped database after it is closed --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 580533e..193e702 100644 --- a/setup.py +++ b/setup.py @@ -28,8 +28,8 @@ def _unpack_db(): db_content = f.read() with open(TARGET_DB, "wb") as out: out.write(db_content) - # delete the xz file - os.unlink("jamdict_data/jamdict.db.xz") + # delete the xz file + os.unlink(ZIPPED_DB) class InstallUnpackDatabase(install):