Merge pull request #140 from rhcarvalho/patch-3
Fix ValueError when line has more than one '='.
This commit is contained in:
commit
f06589c913
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