mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-27 19:19:54 +00:00
Fix ValueError when line has more than one '='.
This commit is contained in:
parent
25f87607aa
commit
2735b680b9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue