mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Fix reversed order of arguments to isinstance.
This commit is contained in:
parent
052e1845a2
commit
edbc8afca4
1 changed files with 1 additions and 1 deletions
|
|
@ -775,7 +775,7 @@ class EvMenu(object):
|
|||
ret = self._execute_node(nodename, raw_string)
|
||||
except EvMenuError:
|
||||
return
|
||||
if isinstance(basestring, ret):
|
||||
if isinstance(ret, basestring):
|
||||
# only return a value if a string (a goto target), ignore all other returns
|
||||
return ret
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue