debug
This commit is contained in:
parent
bfe27b3848
commit
97ee9f5184
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue