This commit is contained in:
jane 2020-11-09 01:48:04 -05:00
parent a7f4e14a19
commit e78e8b2bb8
1 changed files with 2 additions and 2 deletions

View File

@ -48,9 +48,9 @@ def rand(target, arg):
def _apply(target, arg, func):
if type(arg is int):
if type(arg) is int:
return func(target, arg)
elif type(arg is str) and arg in this.values:
elif type(arg) is str and arg in this.values:
return func(target, this.values[arg])