Skip to content

Commit

Permalink
Fix issue with infinite recursion
Browse files Browse the repository at this point in the history
Seems to happen with python 3.8
  • Loading branch information
mickeprag committed May 15, 2020
1 parent 698029d commit 5f90fdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyzwave/types.py
Expand Up @@ -127,7 +127,7 @@ class uint_t(int_t): # pylint: disable=invalid-name
size = 1

def __repr__(self):
return "0x{0:0{1}X} ({0})".format(self, self.size)
return "0x{0:0{1}X} ({0})".format(int(self), self.size)


class int24_t(int_t): # pylint: disable=invalid-name
Expand Down

0 comments on commit 5f90fdb

Please sign in to comment.