This commit is contained in:
Mike McLean 2017-04-05 12:29:23 -04:00
parent 649a6e710f
commit 0189cf98ea

View file

@ -2599,7 +2599,7 @@ class ClientSession(object):
while True:
if debug:
self.logger.debug("uploadFile(%r,%r,%r,%r,%r,...)" %(path, name, sz, digest, offset))
if self.callMethod('uploadFile', path, name, encode_int(sz), digest, encode_int(offset), data, *volopts):
if self.callMethod('uploadFile', path, name, encode_int(sz), digest, encode_int(offset), data, **volopts):
break
if tries <= retries:
tries += 1