Rev1276, Skip last_content_json_update while pending file parsing
This commit is contained in:
parent
93e598cc59
commit
432aa037cb
2 changed files with 3 additions and 2 deletions
|
@ -8,7 +8,7 @@ class Config(object):
|
|||
|
||||
def __init__(self, argv):
|
||||
self.version = "0.3.7"
|
||||
self.rev = 1275
|
||||
self.rev = 1276
|
||||
self.argv = argv
|
||||
self.action = None
|
||||
self.config_file = "zeronet.conf"
|
||||
|
|
|
@ -136,7 +136,8 @@ class FileRequest(object):
|
|||
if peer:
|
||||
if not peer.connection:
|
||||
peer.connect(self.connection) # Assign current connection to peer
|
||||
peer.last_content_json_update = site.content_manager.contents[params["inner_path"]]["modified"]
|
||||
if params["inner_path"] in site.content_manager.contents:
|
||||
peer.last_content_json_update = site.content_manager.contents[params["inner_path"]]["modified"]
|
||||
if config.verbose:
|
||||
self.log.debug(
|
||||
"Same version, adding new peer for locked files: %s, tasks: %s" %
|
||||
|
|
Loading…
Reference in a new issue