maybe a bug

This commit is contained in:
tangdou1 2019-03-27 09:44:36 +08:00 committed by GitHub
parent 91b2f6a8a7
commit e333b47c27
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