fix upload
This commit is contained in:
parent
a1edacd382
commit
4aa92f9e3b
1 changed files with 2 additions and 2 deletions
|
@ -460,9 +460,9 @@ class Client(object):
|
||||||
self.scan_file(arg)
|
self.scan_file(arg)
|
||||||
oshash = ox.oshash(arg)
|
oshash = ox.oshash(arg)
|
||||||
info[oshash] = self.info(oshash)
|
info[oshash] = self.info(oshash)
|
||||||
args.append(oshash)
|
data.append(oshash)
|
||||||
else:
|
else:
|
||||||
args.append(arg)
|
data.append(arg)
|
||||||
files = []
|
files = []
|
||||||
if info:
|
if info:
|
||||||
post = {'info': info}
|
post = {'info': info}
|
||||||
|
|
Loading…
Reference in a new issue