This commit is contained in:
meejah 2019-12-22 04:39:54 -07:00
parent bf3c71c35f
commit 757bcc5309
1 changed files with 0 additions and 1 deletions

View File

@ -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: