From fea910c5f4939113ff438356b15a08614ce590e5 Mon Sep 17 00:00:00 2001 From: phly95 Date: Thu, 1 Aug 2024 23:08:44 -0400 Subject: [PATCH] Unlink zipped database after it is closed dbrwn open pull request https://github.com/neocl/jamdict_data/pull/2 --- 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):