Commit 7ba03c9b authored by Abhijith PA's avatar Abhijith PA
Browse files

more close hit ,snipe

parent 9784a570
......@@ -94,12 +94,12 @@ class MUCBot(sleekxmpp.ClientXMPP):
@app.route('/',methods=['POST'])
def foo():
data = json.loads(request.data)
message = "heeelllo" #data["commits"][0]["message"]
message = "heeelllo" #data["commits"][0]["message"]
#try:
self.send_message(mto=self.room,mbody=message,mtype='groupchat')
#except:
# sys.exc_info()[0]
#return "OK"
return "OK"
if __name__ == '__main__':
app.run(host= '0.0.0.0')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment