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 return True
def uploadData(self, filename, oshash): def uploadData(self, filename, oshash):
print filename if DEBUG:
print os.stat(filename) print 'upload', filename
form = ox.MultiPartForm() form = ox.MultiPartForm()
form.add_field('action', 'upload') form.add_field('action', 'upload')
form.add_field('id', str(oshash)) form.add_field('id', str(oshash))