fix foodforus

master
mutantmonkey 2014-01-19 16:30:42 -08:00
parent 5f451af22d
commit f8c25e5a3b
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ def foodvote(phenny, input):
try: try:
req = web.post(API_URL + '/vote', postdata) req = web.post(API_URL + '/vote', postdata)
data = json.loads(req.text) data = json.loads(req)
except: except:
raise GrumbleError("Uh oh, I couldn't contact foodforus. HOW WILL WE "\ raise GrumbleError("Uh oh, I couldn't contact foodforus. HOW WILL WE "\
"EAT NOW‽") "EAT NOW‽")