debug
This commit is contained in:
parent
4830a3bc5c
commit
e022c47961
1 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ class Archive(SQLObject):
|
|||
dto = socket.getdefaulttimeout()
|
||||
socket.setdefaulttimeout(256)
|
||||
url = "%s/%s?md5sum=%s" % (self.baseUrlFrontend, action, md5sum)
|
||||
print url
|
||||
#print url
|
||||
result = read_url(url)
|
||||
#print "Frontend:", result['result']
|
||||
socket.setdefaulttimeout(dto)
|
||||
|
@ -126,7 +126,7 @@ class Archive(SQLObject):
|
|||
ret = "added entry"
|
||||
f.updateMeta()
|
||||
self.notifyFrontend('add', f.md5sum)
|
||||
return ret
|
||||
return ret.encode('utf-8')
|
||||
|
||||
def removeFile(self, md5sum):
|
||||
'''
|
||||
|
|
Loading…
Reference in a new issue