Climb out of the hole breitenfelds dug.
authorEric S. Raymond <esr@thyrsus.com>
Thu, 4 Oct 2012 20:55:01 +0000 (16:55 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 4 Oct 2012 20:55:01 +0000 (16:55 -0400)
irkerd

diff --git a/irkerd b/irkerd
index a9c6eed7b3b7717b26876370ce5ce738a8dbfdaa..08a192f39d462c3df607ab08b7c3ce05fd6ea406 100755 (executable)
--- 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"")):