From d6f0019232bd899444f4d051c465761608ce0cff Mon Sep 17 00:00:00 2001 From: Jan-Pieter Baert Date: Tue, 17 Dec 2019 23:44:15 +0100 Subject: [PATCH] Small fixes Remove print statements and use format strings instead of "+" --- app/views/general.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/views/general.py b/app/views/general.py index 0f39358..2f55183 100644 --- a/app/views/general.py +++ b/app/views/general.py @@ -49,8 +49,6 @@ def get_css_dict(css_path): # Check each theme in the dictionary and return the first one that is "correct" for key, theme in themes.items(): - print(key) - print(theme) if theme['type'] == 'static-date': start_day, start_month = theme['start'].split('/') start_date = datetime(year=current_year, day=int( @@ -96,7 +94,7 @@ def css(): # TODO: Fix to work with default cookie value [customTheme] if cookie_theme == "customTheme": - path = css_path+"ligtmode.css" + path = f"{css_path}ligtmode.css" else: path = themes_dict[cookie_theme]