Skip to content

Commit c931033

Browse files
committed
Fix bundle_id
1 parent c2dd989 commit c931033

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name='wolf_comm',
8-
version='0.0.19',
8+
version='0.0.20',
99
author="Jan Rothkegel",
1010
author_email="jan.rothkegel@web.de",
1111
description="A package to communicate with Wolf SmartSet Cloud",

wolf_comm/models.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ def parent(self):
4545
...
4646

4747
def __str__(self) -> str:
48-
return "%s -> %s[%d][%d] of %s" % (self.__class__.__name__, self.name, self.parameter_id, self.value_id, self.parent)
49-
48+
return "%s -> %s[%d][%d][%d] of %s" % (self.__class__.__name__, self.name, self.parameter_id, self.bundle_id, self.value_id, self.parent)
5049

5150
class SimpleParameter(Parameter):
5251
@property
@@ -409,7 +408,7 @@ def name(self, name: str):
409408
def parent(self):
410409
return self._parent
411410

412-
def __init__(self, value_id: int, name: str, parent: str, items: [ListItem], parameter_id: int, bundle_id: int):
411+
def __init__(self, value_id: int, name: str, parent: str, items: list[ListItem], parameter_id: int, bundle_id: int):
413412
self._value_id = value_id
414413
self._name = name
415414
self._parent = parent

0 commit comments

Comments
 (0)