remove execute permissions from modules (unneeded)
This commit is contained in:
0
modules/__init__.py
Executable file → Normal file
0
modules/__init__.py
Executable file → Normal file
0
modules/admin.py
Executable file → Normal file
0
modules/admin.py
Executable file → Normal file
0
modules/archwiki.py
Executable file → Normal file
0
modules/archwiki.py
Executable file → Normal file
0
modules/botfun.py
Executable file → Normal file
0
modules/botfun.py
Executable file → Normal file
0
modules/botsnack.py
Executable file → Normal file
0
modules/botsnack.py
Executable file → Normal file
0
modules/calc.py
Executable file → Normal file
0
modules/calc.py
Executable file → Normal file
0
modules/clock.py
Executable file → Normal file
0
modules/clock.py
Executable file → Normal file
0
modules/codepoints.py
Executable file → Normal file
0
modules/codepoints.py
Executable file → Normal file
0
modules/etymology.py
Executable file → Normal file
0
modules/etymology.py
Executable file → Normal file
4
modules/fcc.py
Executable file → Normal file
4
modules/fcc.py
Executable file → Normal file
@@ -15,11 +15,11 @@ def fcc(phenny, input):
|
||||
|
||||
try:
|
||||
req = web.get("http://callook.info/{0}/json".format(web.quote(callsign)))
|
||||
except (HTTPError, IOError):
|
||||
data = json.loads(req)
|
||||
except (HTTPError, IOError, ValueError):
|
||||
phenny.say("THE INTERNET IS FUCKING BROKEN. Please try again later.")
|
||||
return
|
||||
|
||||
data = json.loads(req)
|
||||
if len(data) <= 0 or data['status'] == 'INVALID':
|
||||
phenny.reply('No results found for {0}'.format(callsign))
|
||||
return
|
||||
|
||||
0
modules/head.py
Executable file → Normal file
0
modules/head.py
Executable file → Normal file
0
modules/hs.py
Executable file → Normal file
0
modules/hs.py
Executable file → Normal file
0
modules/info.py
Executable file → Normal file
0
modules/info.py
Executable file → Normal file
0
modules/nsfw.py
Executable file → Normal file
0
modules/nsfw.py
Executable file → Normal file
0
modules/oblique.py
Executable file → Normal file
0
modules/oblique.py
Executable file → Normal file
0
modules/ping.py
Executable file → Normal file
0
modules/ping.py
Executable file → Normal file
0
modules/reload.py
Executable file → Normal file
0
modules/reload.py
Executable file → Normal file
0
modules/remind.py
Executable file → Normal file
0
modules/remind.py
Executable file → Normal file
0
modules/search.py
Executable file → Normal file
0
modules/search.py
Executable file → Normal file
0
modules/seen.py
Executable file → Normal file
0
modules/seen.py
Executable file → Normal file
0
modules/slogan.py
Executable file → Normal file
0
modules/slogan.py
Executable file → Normal file
0
modules/startup.py
Executable file → Normal file
0
modules/startup.py
Executable file → Normal file
0
modules/tell.py
Executable file → Normal file
0
modules/tell.py
Executable file → Normal file
0
modules/tfw.py
Executable file → Normal file
0
modules/tfw.py
Executable file → Normal file
0
modules/translate.py
Executable file → Normal file
0
modules/translate.py
Executable file → Normal file
0
modules/uncyclopedia.py
Executable file → Normal file
0
modules/uncyclopedia.py
Executable file → Normal file
0
modules/validate.py
Executable file → Normal file
0
modules/validate.py
Executable file → Normal file
0
modules/vtluugwiki.py
Executable file → Normal file
0
modules/vtluugwiki.py
Executable file → Normal file
0
modules/weather.py
Executable file → Normal file
0
modules/weather.py
Executable file → Normal file
0
modules/wikipedia.py
Executable file → Normal file
0
modules/wikipedia.py
Executable file → Normal file
0
modules/wiktionary.py
Executable file → Normal file
0
modules/wiktionary.py
Executable file → Normal file
Reference in New Issue
Block a user