mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
fix: allow for corner case
This commit is contained in:
parent
bafa9f05bb
commit
98d9e5d198
1 changed files with 2 additions and 0 deletions
|
|
@ -659,6 +659,8 @@ def funcparser_callable_toint(*args, **kwargs):
|
|||
inp = funcparser_callable_eval(*args, **kwargs)
|
||||
try:
|
||||
return int(inp)
|
||||
except TypeError:
|
||||
return inp
|
||||
except ValueError:
|
||||
return inp
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue