fix foodforus
This commit is contained in:
@@ -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‽")
|
||||||
|
|||||||
Reference in New Issue
Block a user