Log files aren't being deleted after 30 days and is throwing an error at the end of the script:
Traceback (most recent call last):
File "github_archive.py", line 272, in <module>
Archive.run()
File "github_archive.py", line 252, in run
if file.mtime < Archive.LOG_LIFE:
AttributeError: 'str' object has no attribute 'mtime'
Log files aren't being deleted after 30 days and is throwing an error at the end of the script: