|
@@ -1,4 +1,3 @@
|
|
|
-
|
|
|
from flask import Flask, jsonify, request
|
|
|
from xmpp import cli
|
|
|
from function import query_select, query_insert, query_delete, query_update
|
|
@@ -74,13 +73,6 @@ def send_mess():
|
|
|
return "Ошибка", 500
|
|
|
|
|
|
|
|
|
-return_message = ""
|
|
|
-
|
|
|
-async def message_handler(conn, mess):
|
|
|
- text = mess.getBody()
|
|
|
- user = mess.getFrom()
|
|
|
- return text
|
|
|
-
|
|
|
if __name__ == '__main__':
|
|
|
#from waitress import serve
|
|
|
#serve(app, host='127.0.0.2', port='8080')
|