fix typo
This commit is contained in:
parent
a7f4e14a19
commit
e78e8b2bb8
1 changed files with 2 additions and 2 deletions
|
@ -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])
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue