small fix

This commit is contained in:
DYefremov
2022-05-05 09:33:41 +03:00
parent e408f88afd
commit 42feb8d5f6

View File

@@ -494,6 +494,7 @@ def upload_data(*, settings, download_type=DownloadType.ALL, remove_unused=False
cmd = f"unzip -q {p_dst}/picons.zip -d {settings.picons_path}"
callback("Extracting...")
tn.send(cmd)
next(tn)
ftp.delete_file("picons.zip")
try:
os.unlink(f"{p_src}{os.sep}picons.zip")