|
|
@ -150,7 +150,7 @@ class Studip:
|
|
|
|
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:
|
|
|
|
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):
|
|
|
|
"""Get all the subdirectories of a given folder.
|
|
|
|
"""Get all the subdirectories of a given folder.
|
|
|
|