diff --git a/oml/user/models.py b/oml/user/models.py index 34af39f..5fb6abc 100644 --- a/oml/user/models.py +++ b/oml/user/models.py @@ -241,7 +241,7 @@ class List(db.Model): changed = False for c in conditions: if 'conditions' in c: - changed = update_conditions(conditions) + changed = update_conditions(c['conditions'] ) else: if c.get('key') == 'list' and c.get('value', '').startswith('%s:' % old): c['value'] = '%s:%s' % new, c['value'].split(':', 1)[1]