diff --git a/divent/bot.py b/divent/bot.py index 62f6cae..1d5f45e 100644 --- a/divent/bot.py +++ b/divent/bot.py @@ -29,7 +29,7 @@ if SENTRY_DSN: class Discord(Client): async def on_ready(self): - print(f"Logged on as {self.user}!") + print(f"Logged on as {self.user}!", flush=True) client = Discord() @@ -49,7 +49,7 @@ CATALOG_CACHE = {} @app.errorhandler(500) async def errorhandler(error: Exception): - print(f"\33[31m{error}\33[m") + print(f"\33[31m{error}\33[m", flush=True) return await render_template("error.html.j2", error=str(error)), 500 diff --git a/divent/templates/subscribe.html.j2 b/divent/templates/subscribe.html.j2 index 2542389..6254b45 100644 --- a/divent/templates/subscribe.html.j2 +++ b/divent/templates/subscribe.html.j2 @@ -35,7 +35,7 @@