Before move to Gunicorn

This commit is contained in:
Lucas Mathews
2024-06-15 20:11:04 +02:00
parent a1d326c018
commit 1c614f23b6
11 changed files with 96 additions and 56 deletions

View File

@@ -40,7 +40,7 @@ def login():
except requests.exceptions.HTTPError:
messagebox.showerror("Login failed", "Invalid client ID or password.")
except requests.exceptions.ConnectionError:
messagebox.showerror("Connection Error", "Could not connect to the server.")
messagebox.showerror("Connection Error", f"Could not connect to the server on {CONFIG['server']['url']}")
def change_dark_theme():
"""Change the theme between dark and light."""