mirror of
https://github.com/tiyn/stud.ip-crawler.git
synced 2025-11-01 19:51:17 +01:00
bugfixes: keep searching for error with unwritable files
This commit is contained in:
@@ -149,7 +149,7 @@ class Studip:
|
|||||||
#progbar.update(len(chunk))
|
#progbar.update(len(chunk))
|
||||||
doc_file.write(chunk)
|
doc_file.write(chunk)
|
||||||
self.db.set_last_file_dl(str(doc), str(int(time.time())))
|
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)
|
log.critical("Error while writing to the file " + doc_name)
|
||||||
|
|
||||||
def get_subdirs(self, folder):
|
def get_subdirs(self, folder):
|
||||||
|
|||||||
Reference in New Issue
Block a user