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.
1 parent 8e14697 commit a3cb5f1Copy full SHA for a3cb5f1
digi/xbee/devices.py
@@ -316,7 +316,7 @@ def read_device_info(self):
316
317
if orig_protocol is not None and orig_protocol != XBeeProtocol.UNKNOWN and orig_protocol != self._protocol:
318
raise XBeeException("Error reading device information: "
319
- "Your module seems to be %s and NOT %s. " % (self.get_protocol(), orig_protocol) +
+ "Your module seems to be %s and NOT %s. " % (self._protocol, orig_protocol) +
320
"Check if you are using the appropriate device class.")
321
322
# 64-bit address:
0 commit comments