aboutsummaryrefslogtreecommitdiff
path: root/qc_app/entry.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-06-13 15:02:19 +0300
committerFrederick Muriuki Muriithi2022-06-13 15:02:19 +0300
commitc2fa70ec8503d10b990575a547036bfd70a53825 (patch)
treedf7a575b0e2d103a410d419df63503196cad1268 /qc_app/entry.py
parent557d1d5c19ab518fa7abb3229c6d9042867e6c00 (diff)
downloadgn-uploader-c2fa70ec8503d10b990575a547036bfd70a53825.tar.gz
Add upload progress indicator
Diffstat (limited to 'qc_app/entry.py')
-rw-r--r--qc_app/entry.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qc_app/entry.py b/qc_app/entry.py
index 25e2eed..d876bb7 100644
--- a/qc_app/entry.py
+++ b/qc_app/entry.py
@@ -50,7 +50,7 @@ def errors(request) -> Tuple[str, ...]:
def zip_file_errors(filepath, upload_dir) -> Tuple[str, ...]:
"""Check the uploaded zip file for errors."""
- zfile_errors = ("Fail always!!",)
+ zfile_errors = tuple()
if is_zipfile(filepath):
zfile = ZipFile(filepath, "r")
infolist = zfile.infolist()