mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-04-27 05:21:10 -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)."""
|
or down (using isup.me)."""
|
||||||
|
|
||||||
def _getreply(self, url):
|
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:
|
if "It's just you." in data:
|
||||||
reply = 'up'
|
reply = 'up'
|
||||||
elif "looks down from here" in data:
|
elif "looks down from here" in data:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user