diff --git a/src/c3nav/site/context_processors.py b/src/c3nav/site/context_processors.py index 27a2b7f8..9149a407 100644 --- a/src/c3nav/site/context_processors.py +++ b/src/c3nav/site/context_processors.py @@ -31,11 +31,13 @@ def user_data_json(request): def colors(request): - return {'colors': { - 'primary_color': settings.PRIMARY_COLOR, - 'header_background_color': settings.HEADER_BACKGROUND_COLOR, - 'header_text_color': settings.HEADER_TEXT_COLOR, - 'header_text_hover_color': settings.HEADER_TEXT_HOVER_COLOR, - 'safari_mask_icon_color': settings.SAFARI_MASK_ICON_COLOR, - 'msapplication_tile_color': settings.MSAPPLICATION_TILE_COLOR, - }} + return { + 'colors': { + 'primary_color': settings.PRIMARY_COLOR, + 'header_background_color': settings.HEADER_BACKGROUND_COLOR, + 'header_text_color': settings.HEADER_TEXT_COLOR, + 'header_text_hover_color': settings.HEADER_TEXT_HOVER_COLOR, + 'safari_mask_icon_color': settings.SAFARI_MASK_ICON_COLOR, + 'msapplication_tile_color': settings.MSAPPLICATION_TILE_COLOR, + } + } diff --git a/src/c3nav/site/finders.py b/src/c3nav/site/finders.py index a194ac0c..d14b368a 100644 --- a/src/c3nav/site/finders.py +++ b/src/c3nav/site/finders.py @@ -16,15 +16,15 @@ logofinder_results = { } favicon_package_files = { - 'android-chrome-192x192.png', - 'android-chrome-512x512.png', - 'apple-touch-icon.png', - 'browserconfig.xml', - 'mstile-150x150.png', - 'mstile-310x310.png', - 'safari-pinned-tab.svg', - 'site.webmanifest', - } + 'android-chrome-192x192.png', + 'android-chrome-512x512.png', + 'apple-touch-icon.png', + 'browserconfig.xml', + 'mstile-150x150.png', + 'mstile-310x310.png', + 'safari-pinned-tab.svg', + 'site.webmanifest', +} if settings.FAVICON_PACKAGE and os.path.isdir(settings.FAVICON_PACKAGE): logofinder_results.update({