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
|
||||
|
||||
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))
|
||||
|
|
Loading…
Reference in a new issue