From 818ad1932923ff458cdcb2aa070d037870caad66 Mon Sep 17 00:00:00 2001 From: TiynGER Date: Tue, 10 Nov 2020 15:17:28 +0100 Subject: [PATCH] bugfixes: error solving for unwritable files --- src/studip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/studip.py b/src/studip.py index c6d12be..b991d1b 100755 --- a/src/studip.py +++ b/src/studip.py @@ -150,7 +150,7 @@ class Studip: doc_file.write(chunk) self.db.set_last_file_dl(str(doc), str(int(time.time()))) except: - log.CRITICAL("Error while writing to the file " + doc_name) + log.critical("Error while writing to the file " + doc_name) def get_subdirs(self, folder): """Get all the subdirectories of a given folder.