mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
core: fix configd asList helper (#2687)
This commit is contained in:
parent
2b323f6dcd
commit
a7bc218801
@ -78,6 +78,8 @@ class Helpers(object):
|
||||
:return: []
|
||||
"""
|
||||
result = self.getNodeByTag(tag)
|
||||
if result is None:
|
||||
return []
|
||||
if type(result) != list:
|
||||
# wrap result
|
||||
result = [result]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user