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) 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}