mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 14:59:34 +01:00
Change from an old-school typecheck to a new-school one.
This commit is contained in:
parent
4d35de48c2
commit
400c9aa7a3
@ -591,7 +591,7 @@ class IrcObjectProxy(RichReplyMethods):
|
|||||||
|
|
||||||
def evalArgs(self):
|
def evalArgs(self):
|
||||||
while self.counter < len(self.args):
|
while self.counter < len(self.args):
|
||||||
if type(self.args[self.counter]) == str:
|
if isinstance(self.args[self.counter], basestring):
|
||||||
self.counter += 1
|
self.counter += 1
|
||||||
else:
|
else:
|
||||||
self.__class__(self, self.msg,
|
self.__class__(self, self.msg,
|
||||||
|
Loading…
Reference in New Issue
Block a user