Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
f1nality committed Dec 25, 2018
1 parent fcf7a8d commit 9e7cdd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jet_bridge/fields/sql_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
class SqlParamsSerializers(fields.CharField):

def to_internal_value_item(self, value):
value = super().to_internal_value(value)
if value == '':
value = super().to_internal_value_item(value)
if value is None:
return []
# value = list(filter(lambda x: x != '', value.split(',')))
value = value.split(',')
Expand Down

0 comments on commit 9e7cdd9

Please sign in to comment.