mirror of
https://github.com/tiyn/stud.ip-crawler.git
synced 2025-04-03 16:37:48 +02:00
bugfixes: error solving for unwritable files
This commit is contained in:
parent
b7b4683e0b
commit
818ad19329
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user