From: Eric S. Raymond Date: Thu, 4 Oct 2012 20:55:01 +0000 (-0400) Subject: Climb out of the hole breitenfelds dug. X-Git-Tag: 1.7~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e9bc25d2314cca2b59111cb29cc827c360d892da;p=irker.git Climb out of the hole breitenfelds dug. --- diff --git a/irkerd b/irkerd index a9c6eed..08a192f 100755 --- a/irkerd +++ b/irkerd @@ -404,7 +404,7 @@ class Irker: if type(message) not in (type(""), type(u"")): self.logerr("malformed request - unexpected message type: %r" % message) else: - if isinstance(channels, unicode): + if type(channels) != type([]): channels = [channels] for url in channels: if not type(url) in (type(""), type(u"")):