Fixes in webmodel

This commit is contained in:
Antonio de la Rosa 2020-11-07 00:49:34 +01:00
parent 787691617d
commit b5bb341f53

View file

@ -928,7 +928,7 @@ class WebModel:
try: try:
in_list[x]=str(int(in_list[x])) in_list[x]=str(int(in_list[x]))
except: except:
in_list[x]=str(0) in_list[x]='0'
return '('+', '.join(in_list)+')' return '('+', '.join(in_list)+')'
def check_in_list_str(self, field, in_list): def check_in_list_str(self, field, in_list):