Skip to content

Commit

Permalink
Avoid warning
Browse files Browse the repository at this point in the history
  • Loading branch information
eberloso committed Sep 10, 2020
1 parent 4597019 commit 8c449ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gestionatr/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def find_child(element, child_name):
return element
for child in element:
res = find_child(child, child_name)
if res:
if res is not None:
break
return res

Expand Down

0 comments on commit 8c449ed

Please sign in to comment.