forked from ScoDoc/ScoDoc
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
|
# necessary for db ids and boolean values
|
||||||
try:
|
try:
|
||||||
v = int(v)
|
v = int(v)
|
||||||
except ValueError:
|
except (ValueError, TypeError):
|
||||||
pass
|
pass
|
||||||
pos_arg_values.append(v)
|
pos_arg_values.append(v)
|
||||||
# current_app.logger.info("pos_arg_values=%s" % pos_arg_values)
|
# current_app.logger.info("pos_arg_values=%s" % pos_arg_values)
|
||||||
|
Loading…
Reference in New Issue
Block a user