diff --git a/plugins/Bigfile/BigfilePlugin.py b/plugins/Bigfile/BigfilePlugin.py index 4b808cf3..1fa49acf 100644 --- a/plugins/Bigfile/BigfilePlugin.py +++ b/plugins/Bigfile/BigfilePlugin.py @@ -61,7 +61,7 @@ class UiRequestPlugin(object): if len(piecemap_info["sha512_pieces"]) == 1: # Small file, don't split hash = piecemap_info["sha512_pieces"][0].encode("hex") - hash_id = self.site.content_manager.hashfield.getHashId(hash) + hash_id = site.content_manager.hashfield.getHashId(hash) site.content_manager.optionalDownloaded(inner_path, hash_id, upload_info["size"], own=True) else: # Big file diff --git a/src/Config.py b/src/Config.py index deb46c50..929f8174 100644 --- a/src/Config.py +++ b/src/Config.py @@ -10,7 +10,7 @@ class Config(object): def __init__(self, argv): self.version = "0.6.2" - self.rev = 3402 + self.rev = 3403 self.argv = argv self.action = None self.config_file = "zeronet.conf"