fix kvp_to_dict

This commit is contained in:
Hay1tsme 2023-02-18 23:24:38 -05:00
parent 655d9dc530
commit 68b9c64f71
1 changed files with 1 additions and 1 deletions

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('&')