Skip to content

Commit e8dae37

Browse files
authored
Merge pull request #369 from plugwise/simpler
Remove unneeded line
2 parents 915a126 + 1355c3d commit e8dae37

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

plugwise/helper.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@
7979
def etree_to_dict(element: etree) -> dict[str, str]:
8080
"""Helper-function translating xml Element to dict."""
8181
node: dict[str, str] = {}
82-
getattr(element, "text", None)
8382
if element is not None:
8483
node.update(element.items())
8584

0 commit comments

Comments
 (0)