Skip to content

Commit fea910c

Browse files
authored
Unlink zipped database after it is closed
dbrwn open pull request neocl#2
1 parent f9c39bd commit fea910c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ def _unpack_db():
2828
db_content = f.read()
2929
with open(TARGET_DB, "wb") as out:
3030
out.write(db_content)
31-
# delete the xz file
32-
os.unlink("jamdict_data/jamdict.db.xz")
31+
# delete the xz file
32+
os.unlink(ZIPPED_DB)
3333

3434

3535
class InstallUnpackDatabase(install):

0 commit comments

Comments
 (0)