mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-19 09:31:35 +03:00
Fix style
This commit is contained in:
parent
7c119472bf
commit
567a4384ef
1 changed files with 3 additions and 3 deletions
|
@ -332,10 +332,10 @@ class IdentityHandler(BaseHandler):
|
||||||
if next_link:
|
if next_link:
|
||||||
# Manipulate the next_link to add the sid, because the caller won't get
|
# Manipulate the next_link to add the sid, because the caller won't get
|
||||||
# it until we send a response, by which time we've sent the mail.
|
# it until we send a response, by which time we've sent the mail.
|
||||||
if '?' in next_link:
|
if "?" in next_link:
|
||||||
next_link += '&'
|
next_link += "&"
|
||||||
else:
|
else:
|
||||||
next_link += '?'
|
next_link += "?"
|
||||||
next_link += "sid=" + urllib.parse.quote(session_id)
|
next_link += "sid=" + urllib.parse.quote(session_id)
|
||||||
|
|
||||||
# Generate a new validation token
|
# Generate a new validation token
|
||||||
|
|
Loading…
Reference in a new issue