From 6c728a8aec25c0312b92141cdc84b6859a52ab12 Mon Sep 17 00:00:00 2001 From: Bikatr7 Date: Sun, 5 Nov 2023 20:38:59 -0700 Subject: [PATCH] now remove zip file after extraction --- handlers/sudachiHandler.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/handlers/sudachiHandler.py b/handlers/sudachiHandler.py index a5eb230..6dcc5c5 100644 --- a/handlers/sudachiHandler.py +++ b/handlers/sudachiHandler.py @@ -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()------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------