We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31c37c2 commit 4fe5457Copy full SHA for 4fe5457
1 file changed
openxc/sources/base.py
@@ -203,7 +203,7 @@ def run(self):
203
except MissingPayloadFormatError:
204
json_chars = ['\x00']
205
json_chars.extend(string.printable)
206
- if all((chr(char) in json_chars for char in payload)):
+ if all((char in json_chars for char in payload)):
207
self.format = "json"
208
else:
209
self.format = "protobuf"
0 commit comments