From 0fd32dc2b8ad08d16ca9bc28daa86560be03b85e Mon Sep 17 00:00:00 2001 From: Michachatz <121869403+Michatec@users.noreply.github.com> Date: Sat, 27 Sep 2025 21:46:08 +0200 Subject: [PATCH] Update main.py --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 596ff60..78848bb 100644 --- a/main.py +++ b/main.py @@ -110,6 +110,7 @@ def needs_admin_setup(): def inject_discord_available(): try: from routes.oauth import discord + return dict(discord=discord) except ImportError: return dict(discord=None) @@ -237,4 +238,4 @@ if __name__ == '__main__': try: serve(app, host="0.0.0.0", port=80, threads=12) except: - app.run(debug=True, host="0.0.0.0", port=80) \ No newline at end of file + app.run(debug=True, host="0.0.0.0", port=80)