fix .mliar error message
parent
9cd3578ed1
commit
733d3fd39e
|
@ -43,8 +43,9 @@ def mliarab(phenny, input):
|
||||||
try:
|
try:
|
||||||
req = web.get("http://mylifeisarabic.com/random/")
|
req = web.get("http://mylifeisarabic.com/random/")
|
||||||
except (HTTPError, IOError):
|
except (HTTPError, IOError):
|
||||||
phenny.say("The site you requested, mylifeisarabic.com, has been banned \
|
phenny.say("The site you requested, mylifeisarabic.com, has been " \
|
||||||
in the UAE. You will be reported to appropriate authorities")
|
"banned in the UAE. You will be reported to appropriate " \
|
||||||
|
"authorities")
|
||||||
return
|
return
|
||||||
|
|
||||||
doc = lxml.html.fromstring(req)
|
doc = lxml.html.fromstring(req)
|
||||||
|
|
Loading…
Reference in New Issue