m3hrdadfi commited on
Commit
0efd09d
1 Parent(s): 6732512

Fix items orders

Browse files
Files changed (1) hide show
  1. utils.py +2 -1
utils.py CHANGED
@@ -36,7 +36,8 @@ def remote_css(css_url):
36
 
37
 
38
  def pure_comma_separation(list_str, return_list=True):
39
- r = list(set([x.strip() for x in list_str.strip().split(',') if len(x.strip()) > 0]))
 
40
  if return_list:
41
  return r
42
  return ", ".join(r)
 
36
 
37
 
38
  def pure_comma_separation(list_str, return_list=True):
39
+ r = [item.strip() for item in list_str.split(",")]
40
+ # r = list(set([x.strip() for x in list_str.strip().split(',') if len(x.strip()) > 0]))
41
  if return_list:
42
  return r
43
  return ", ".join(r)