Rev3104, Fix bigfile signing via command line
This commit is contained in:
parent
65eff6b6d9
commit
a66b71fb9c
2 changed files with 2 additions and 2 deletions
|
@ -242,7 +242,7 @@ class ContentManagerPlugin(object):
|
||||||
piece_size = None
|
piece_size = None
|
||||||
|
|
||||||
# Don't re-hash if it's already in content.json
|
# 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]
|
file_node = content["files_optional"][file_relative_path]
|
||||||
if file_node["size"] == file_size:
|
if file_node["size"] == file_size:
|
||||||
self.log.info("- [SAME SIZE] %s" % file_relative_path)
|
self.log.info("- [SAME SIZE] %s" % file_relative_path)
|
||||||
|
|
|
@ -10,7 +10,7 @@ class Config(object):
|
||||||
|
|
||||||
def __init__(self, argv):
|
def __init__(self, argv):
|
||||||
self.version = "0.6.0"
|
self.version = "0.6.0"
|
||||||
self.rev = 3102
|
self.rev = 3104
|
||||||
self.argv = argv
|
self.argv = argv
|
||||||
self.action = None
|
self.action = None
|
||||||
self.config_file = "zeronet.conf"
|
self.config_file = "zeronet.conf"
|
||||||
|
|
Loading…
Reference in a new issue