1
0
forked from ScoDoc/ScoDoc

Enhance scodoc7 decorator: FileStorage arguments

This commit is contained in:
Emmanuel Viennet 2022-02-28 15:12:32 +01:00
parent 5aa896f793
commit f7c90397a8

View File

@ -193,7 +193,7 @@ def scodoc7func(func):
# necessary for db ids and boolean values
try:
v = int(v)
except ValueError:
except (ValueError, TypeError):
pass
pos_arg_values.append(v)
# current_app.logger.info("pos_arg_values=%s" % pos_arg_values)