1
0
mirror of synced 2024-11-24 06:20:10 +01:00

fix kvp_to_dict

This commit is contained in:
Hay1tsme 2023-02-18 23:24:38 -05:00
parent 655d9dc530
commit 68b9c64f71

View File

@ -230,7 +230,7 @@ class AllnetServlet:
self.logger.debug(f"response {vars(resp)}")
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]] = []
for x in kvp:
items = x.split('&')