when list, return a list

This commit is contained in:
2018-07-22 11:51:48 +02:00
parent d0f6a4dd31
commit e3be95a274
2 changed files with 15 additions and 0 deletions

View File

@ -115,6 +115,9 @@ class Values(object):
value,
setting_properties,
config_bag.properties)
if isinstance(value, list):
# return a copy, so value cannot be modified
return value.copy()
# and return it
return value