Skip to content

Commit

Permalink
now remove zip file after extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
Bikatr7 committed Nov 6, 2023
1 parent d47f46c commit 6c728a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions handlers/sudachiHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ def __init__(self, replacement_json:dict, preloader:preloader, inc_katakana_hand
with ZipFile(self.preloader.system_zip, 'r') as zip_ref:
zip_ref.extractall(self.preloader.dic_lib)

os.remove(self.preloader.system_zip)

sleep(.1)

##--------------------start-of-prepare_sudachi()------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit 6c728a8

Please sign in to comment.