From c2fa70ec8503d10b990575a547036bfd70a53825 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 13 Jun 2022 15:02:19 +0300 Subject: Add upload progress indicator --- qc_app/entry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qc_app/entry.py') 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() -- cgit v1.2.3