diff --git a/plugins/Bigfile/BigfilePlugin.py b/plugins/Bigfile/BigfilePlugin.py index 47e192c6..f13b8fbe 100644 --- a/plugins/Bigfile/BigfilePlugin.py +++ b/plugins/Bigfile/BigfilePlugin.py @@ -242,7 +242,7 @@ class ContentManagerPlugin(object): piece_size = None # Don't re-hash if it's already in content.json - if content and file_relative_path in content.get("files_optional"): + if content and file_relative_path in content.get("files_optional", {}): file_node = content["files_optional"][file_relative_path] if file_node["size"] == file_size: self.log.info("- [SAME SIZE] %s" % file_relative_path) diff --git a/src/Config.py b/src/Config.py index dc9cdf02..27e4834b 100644 --- a/src/Config.py +++ b/src/Config.py @@ -10,7 +10,7 @@ class Config(object): def __init__(self, argv): self.version = "0.6.0" - self.rev = 3102 + self.rev = 3104 self.argv = argv self.action = None self.config_file = "zeronet.conf"