This commit is contained in:
ed
2021-02-13 03:59:38 +01:00
parent b38f20b408
commit ca0b97f72d
2 changed files with 19 additions and 7 deletions

View File

@@ -496,7 +496,12 @@ class HttpCli(object):
self.log("clone {} done".format(cstart[0]))
x = self.conn.hsrv.broker.put(True, "up2k.confirm_chunk", ptop, wark, chash)
num_left, path = x.get()
x = x.get()
try:
num_left, path = x
except:
self.loud_reply(x, status=500)
return False
if not WINDOWS and num_left == 0:
times = (int(time.time()), int(lastmod))