Isup: fix for python 3 support (ref #12)

This commit is contained in:
James Lu 2014-09-19 20:15:59 -07:00
parent 300130860c
commit f9f6ffc6c3

View File

@ -46,7 +46,7 @@ class Isup(callbacks.Plugin):
or down (using isup.me)."""
def _getreply(self, url):
data = utils.web.getUrl("http://isup.me/%s" % url)
data = utils.web.getUrl("http://isup.me/%s" % url).decode("utf-8")
if "It's just you." in data:
reply = 'up'
elif "looks down from here" in data: