Enlever SIGTERM et avec SIGINT trop violent, attente corrections shionn

This commit is contained in:
skylanix
2025-08-16 19:56:38 +02:00
parent 07f677312c
commit 2ffb2e33f8

View File

@@ -7,7 +7,7 @@ from discordbot import bot
def start_server():
logging.info("Start Web Serveur")
from waitress import serve
serve(webapp, host="0.0.0.0", port=5001)
serve(webapp, host="0.0.0.0", port=5000)
def start_discord_bot():
logging.info("Start Discord Bot")
@@ -15,7 +15,7 @@ def start_discord_bot():
bot.begin()
if __name__ == '__main__':
locale.setlocale(locale.LC_TIME, 'fr_CH.UTF-8')
locale.setlocale(locale.LC_TIME, 'fr_FR.UTF-8')
jobs = []
jobs.append(threading.Thread(target=start_discord_bot))