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)
|
ret = self._execute_node(nodename, raw_string)
|
||||||
except EvMenuError:
|
except EvMenuError:
|
||||||
return
|
return
|
||||||
if isinstance(basestring, ret):
|
if isinstance(ret, basestring):
|
||||||
# only return a value if a string (a goto target), ignore all other returns
|
# only return a value if a string (a goto target), ignore all other returns
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue