Skip to content

Commit

Permalink
Not JS
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieldutra committed Sep 24, 2019
1 parent d40af5b commit 5e7415d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redash/utils/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def set_schema(self, schema):
if isinstance(schema, dict):
for prop in schema.get('properties', {}).values():
if 'extendedEnum' in prop:
prop['enum'] = map(lambda v : v['value'], prop['extendedEnum'])
prop['enum'] = map(lambda v: v['value'], prop['extendedEnum'])
del prop['extendedEnum']
self._schema = schema

Expand Down

1 comment on commit 5e7415d

@rauchy
Copy link
Contributor

@rauchy rauchy commented on 5e7415d Sep 25, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nominated for “commit message of the year”.

Please sign in to comment.