Remove blank parameter option

This commit is contained in:
JonnyWong16 2017-05-06 23:26:26 -07:00
parent 8aa94cc32d
commit 2db3b093b9

View file

@ -2956,8 +2956,7 @@ class WebInterface(object):
if not result['custom_conditions_logic']: if not result['custom_conditions_logic']:
result['custom_conditions_logic'] = '' result['custom_conditions_logic'] = ''
parameters = [{'name': '', 'type': '', 'value': ''}] parameters = [
parameters += [
{'name': param['name'], 'type': param['type'], 'value': param['value']} {'name': param['name'], 'type': param['type'], 'value': param['value']}
for category in common.NOTIFICATION_PARAMETERS for param in category['parameters'] for category in common.NOTIFICATION_PARAMETERS for param in category['parameters']
] ]