Add cache to default settings

This commit is contained in:
shortcutme 2018-09-17 15:25:17 +02:00
parent 6c610c509f
commit 577761a6bb
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ class Site(object):
self.bad_files[inner_path] = min(self.bad_files[inner_path], 20)
else:
self.settings = {
"own": False, "serving": True, "permissions": [],
"own": False, "serving": True, "permissions": [], "cache": {"bad_files": {}}, "size_files_optional": 0,
"added": int(time.time()), "optional_downloaded": 0, "size_optional": 0
} # Default
if config.download_optional == "auto":