Skip to content

Commit 73a98a8

Browse files
authored
Use quote instead of urlencode (#34)
1 parent cb6cd19 commit 73a98a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sagemcom_api/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ async def get_value_by_xpath(
289289
actions = {
290290
"id": 0,
291291
"method": "getValue",
292-
"xpath": urllib.parse.urlencode(xpath),
292+
"xpath": urllib.parse.quote(xpath),
293293
"options": options,
294294
}
295295

0 commit comments

Comments
 (0)