'str.split' -> 's.split'
This commit is contained in:
parent
1df82c1cb2
commit
5ef2b7af27
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class Response(object):
|
|||
|
||||
def _meta_content(s: str) -> typing.Dict[str, str]:
|
||||
out = {}
|
||||
for keyvalue in str.split(";"):
|
||||
for keyvalue in s.split(";"):
|
||||
key, _, value = keyvalue.strip().partition("=")
|
||||
out[key] = value
|
||||
return out
|
||||
|
|
Loading…
Reference in a new issue