Rev3404, Fix bigfile upload

This commit is contained in:
shortcutme 2018-04-04 12:39:46 +02:00
parent c703458e00
commit abc481604f
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE
2 changed files with 2 additions and 2 deletions

View file

@ -89,7 +89,7 @@ class UiRequestPlugin(object):
"piece_size": piece_size
}
merkle_root_hash_id = self.site.content_manager.hashfield.getHashId(merkle_root)
merkle_root_hash_id = site.content_manager.hashfield.getHashId(merkle_root)
site.content_manager.optionalDownloaded(inner_path, merkle_root_hash_id, upload_info["size"], own=True)
site.storage.writeJson(file_info["content_inner_path"], content)

View file

@ -10,7 +10,7 @@ class Config(object):
def __init__(self, argv):
self.version = "0.6.2"
self.rev = 3403
self.rev = 3404
self.argv = argv
self.action = None
self.config_file = "zeronet.conf"