summaryrefslogtreecommitdiff
path: root/ishtar_common/widgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/widgets.py')
-rw-r--r--ishtar_common/widgets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/widgets.py b/ishtar_common/widgets.py
index 1f5a169ba..4852f4ceb 100644
--- a/ishtar_common/widgets.py
+++ b/ishtar_common/widgets.py
@@ -140,7 +140,7 @@ class Select2DynamicBase(Select2Media):
value = value[0]
values = value
for va in values:
- if va not in [key for key, va in choices]:
+ if va not in [key for key, v in choices]:
choices.insert(1, (va, va))
self.choices = choices
klass = attrs and attrs.get("class") or ""