From fb67c7a49fc917624d616c962addb4c52a133035 Mon Sep 17 00:00:00 2001 From: Kostanjevec Date: Tue, 14 Jun 2022 02:15:34 +0200 Subject: [PATCH] =?UTF-8?q?new=20TODO:=20ne=20dela=20za=20ve=C4=8D=20fileo?= =?UTF-8?q?v?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- upload.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/upload.py b/upload.py index 94b648e..19b46fc 100644 --- a/upload.py +++ b/upload.py @@ -45,8 +45,8 @@ def upload_file(): script_path = os.path.dirname(os.path.abspath(__file__)) temp_path = os.path.join(script_path, "temp") - - #a lot of stuff can wrong here and nobody may know + # @TODO ne dela za več fajlov + # a lot of stuff can wrong here and nobody may know with tempfile.NamedTemporaryFile(dir=temp_path, delete=False) as fp: fp.write(upload.stream.read()) path = fp.name