mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-04-26 21:11:14 -05:00
Isup: fix for python 3 support (ref #12)
This commit is contained in:
parent
300130860c
commit
f9f6ffc6c3
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user