Merge pull request #1938 from tangdou1/patch-2

a bug?
This commit is contained in:
ZeroNet 2019-03-27 03:07:33 +01:00 committed by GitHub
commit c51dfe728f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,7 +90,7 @@ class Site(object):
self.settings = settings self.settings = settings
if "cache" not in settings: if "cache" not in settings:
settings["cache"] = {} settings["cache"] = {}
if "size_files_optional" not in settings: if "size_optional" not in settings:
settings["size_optional"] = 0 settings["size_optional"] = 0
if "optional_downloaded" not in settings: if "optional_downloaded" not in settings:
settings["optional_downloaded"] = 0 settings["optional_downloaded"] = 0