We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b2d65f6 + 069f6aa commit 55c7926Copy full SHA for 55c7926
obd/elm327.py
@@ -210,7 +210,9 @@ def set_protocol(self, protocol_):
210
if protocol_ is not None:
211
# an explicit protocol was specified
212
if protocol_ not in self._SUPPORTED_PROTOCOLS:
213
- logger.error("%s is not a valid protocol. Please use \"1\" through \"A\"")
+ logger.error(
214
+ "{:} is not a valid protocol. ".format(protocol_) +
215
+ "Please use \"1\" through \"A\"")
216
return False
217
return self.manual_protocol(protocol_)
218
else:
0 commit comments