Skip to content

Commit 9520a93

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 68fb72d commit 9520a93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def etree_to_dict(element: etree) -> dict[str, str]:
8080
"""Helper-function translating xml Element to dict."""
8181
node: dict[str, str] = {}
8282

83-
text = getattr(element, "text", None)
83+
getattr(element, "text", None)
8484
if element is not None:
8585
node.update(element.items())
8686

0 commit comments

Comments
 (0)