bugfixes: keep searching for error with unwritable files

master
TiynGER 4 years ago
parent 818ad19329
commit 961ab04f5c

@ -149,7 +149,7 @@ class Studip:
#progbar.update(len(chunk))
doc_file.write(chunk)
self.db.set_last_file_dl(str(doc), str(int(time.time())))
except:
except FileNotFoundError:
log.critical("Error while writing to the file " + doc_name)
def get_subdirs(self, folder):

Loading…
Cancel
Save