utils.py 106 B

1234
  1. def convert_choice(value):
  2. if isinstance(value, str):
  3. return value.split(',')
  4. return value