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)