diff --git a/sleekxmpp/thirdparty/suelta/mechanisms/google_token.py b/sleekxmpp/thirdparty/suelta/mechanisms/google_token.py index 75c55f1..19d1b5a 100644 --- a/sleekxmpp/thirdparty/suelta/mechanisms/google_token.py +++ b/sleekxmpp/thirdparty/suelta/mechanisms/google_token.py @@ -42,7 +42,7 @@ class X_GOOGLE_TOKEN(Mechanism): resp = conn.getresponse().read() data = {} for line in resp.split(): - k, v = line.split(b'=') + k, v = line.split(b'=', 1) data[k] = v except Exception as e: raise e