Skip to content

Commit 4533c3c

Browse files
committed
Correct typing
1 parent ea9cab1 commit 4533c3c

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
@@ -73,7 +73,7 @@
7373
)
7474

7575

76-
def _find(xml_in: etree, locator: str) -> list[str]:
76+
def _find(xml_in: etree, locator: str) -> etree | None:
7777
"""Helper-function for use of etree.find()."""
7878
if xml_in is not None:
7979
if (found := xml_in.find(locator)) is not None:

0 commit comments

Comments
 (0)