cleanup
This commit is contained in:
parent
bf3c71c35f
commit
757bcc5309
|
@ -51,7 +51,6 @@ def POSTUnlinkedCHK(req, client):
|
||||||
def _done(upload_results, redir_to):
|
def _done(upload_results, redir_to):
|
||||||
if "%(uri)s" in redir_to:
|
if "%(uri)s" in redir_to:
|
||||||
redir_to = redir_to.replace("%(uri)s", urllib.quote(upload_results.get_uri()))
|
redir_to = redir_to.replace("%(uri)s", urllib.quote(upload_results.get_uri()))
|
||||||
print("REDIR TO: {}".format(redir_to))
|
|
||||||
return url.URL.fromString(redir_to)
|
return url.URL.fromString(redir_to)
|
||||||
d.addCallback(_done, when_done)
|
d.addCallback(_done, when_done)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue