fix upload

This commit is contained in:
j 2012-03-12 12:17:51 +01:00
parent a1edacd382
commit 4aa92f9e3b

View file

@ -460,9 +460,9 @@ class Client(object):
self.scan_file(arg)
oshash = ox.oshash(arg)
info[oshash] = self.info(oshash)
args.append(oshash)
data.append(oshash)
else:
args.append(arg)
data.append(arg)
files = []
if info:
post = {'info': info}