This commit is contained in:
j 2011-08-24 18:58:49 +02:00
parent bfe27b3848
commit 97ee9f5184

View file

@ -469,8 +469,8 @@ class API(object):
return True
def uploadData(self, filename, oshash):
print filename
print os.stat(filename)
if DEBUG:
print 'upload', filename
form = ox.MultiPartForm()
form.add_field('action', 'upload')
form.add_field('id', str(oshash))