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 5a1029a commit ab0ca35Copy full SHA for ab0ca35
digi/xbee/models/atcomm.py
@@ -1,4 +1,4 @@
1
-# Copyright 2017-2021, Digi International Inc.
+# Copyright 2017-2024, Digi International Inc.
2
#
3
# This Source Code Form is subject to the terms of the Mozilla Public
4
# License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -291,7 +291,7 @@ def __str__(self):
291
String: representation of this ATCommand.
292
"""
293
return "Command: %s - Parameter: %s" \
294
- % (self.__cmd, utils.hex_to_string(self.__param))
+ % (self.__cmd, utils.hex_to_string(self.__param) if self.__param else "-")
295
296
def __len__(self):
297
0 commit comments