Fix style

This commit is contained in:
J. Ryan Stinnett 2019-09-24 13:55:23 +01:00
parent 7c119472bf
commit 567a4384ef

View file

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