mirror of
https://github.com/skylanix/MamieHenriette.git
synced 2026-02-06 14:50:34 +01:00
Enlever SIGTERM et avec SIGINT trop violent, attente corrections shionn
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user