forked from ScoDoc/DocScoDoc
Enhance scodoc7 decorator: FileStorage arguments
This commit is contained in:
parent
5aa896f793
commit
f7c90397a8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user