forked from Hay1tsme/artemis
fix kvp_to_dict
This commit is contained in:
parent
655d9dc530
commit
68b9c64f71
@ -230,7 +230,7 @@ class AllnetServlet:
|
|||||||
self.logger.debug(f"response {vars(resp)}")
|
self.logger.debug(f"response {vars(resp)}")
|
||||||
return resp_str.encode("utf-8")
|
return resp_str.encode("utf-8")
|
||||||
|
|
||||||
def kvp_to_dict(self, *kvp: str) -> List[Dict[str, Any]]:
|
def kvp_to_dict(self, kvp: List[str]) -> List[Dict[str, Any]]:
|
||||||
ret: List[Dict[str, Any]] = []
|
ret: List[Dict[str, Any]] = []
|
||||||
for x in kvp:
|
for x in kvp:
|
||||||
items = x.split('&')
|
items = x.split('&')
|
||||||
|
Loading…
Reference in New Issue
Block a user