diff options
Diffstat (limited to 'pgweb/featurematrix/models.py')
-rw-r--r-- | pgweb/featurematrix/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pgweb/featurematrix/models.py b/pgweb/featurematrix/models.py index 9e79ec8b..4234c656 100644 --- a/pgweb/featurematrix/models.py +++ b/pgweb/featurematrix/models.py @@ -6,7 +6,7 @@ choices_map = { 2: {'str': 'Obsolete', 'class': 'obs', 'bgcolor': '#ddddff'}, 3: {'str': '?', 'class': 'unk', 'bgcolor': '#ffffaa'}, } -choices = [(k, v['str']) for k, v in choices_map.items()] +choices = [(k, v['str']) for k, v in list(choices_map.items())] class FeatureGroup(models.Model): |