We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65294fe commit e1a9d0eCopy full SHA for e1a9d0e
pypicode/__init__.py
@@ -239,7 +239,7 @@ def decodeString(pilight_string:str):
239
decoded_protocols = _picode_wraper.decodeString(pilight_string)
240
241
if (isinstance(decoded_protocols,str)):
242
- decoded_protocols = _sub("\n\ *","",decoded_protocols)
+ decoded_protocols = _sub(r"\n\ *","",decoded_protocols)
243
result = _literal_eval(decoded_protocols)
244
if not isinstance(result,dict):
245
result = None
0 commit comments