Store index and source as lists
This commit is contained in:
parent
f5e371bf5c
commit
ddffc2c3d8
|
@ -401,7 +401,7 @@ class NotificationRuleData(object):
|
|||
else:
|
||||
# Get the default value for the user if not present
|
||||
index = parse_index(self.user, {}, raise_error=True)
|
||||
self.parsed["index"] = index
|
||||
self.parsed["index"] = [index]
|
||||
|
||||
if "source" in self.parsed:
|
||||
source = self.parsed["source"]
|
||||
|
@ -413,7 +413,7 @@ class NotificationRuleData(object):
|
|||
else:
|
||||
# Get the default value for the user if not present
|
||||
source = parse_source(self.user, {}, raise_error=True)
|
||||
self.parsed["source"] = source
|
||||
self.parsed["source"] = [source]
|
||||
|
||||
def parse_data(self):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue