From 42feb8d5f6cbde5adcd7c5d8189947eeb8d4d5e7 Mon Sep 17 00:00:00 2001 From: DYefremov Date: Thu, 5 May 2022 09:33:41 +0300 Subject: [PATCH] small fix --- app/connections.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/connections.py b/app/connections.py index 0b93ebd6..a7830ea9 100644 --- a/app/connections.py +++ b/app/connections.py @@ -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")