From 2fd423d162bff4eb3c3910604d16300f65e6dfd0 Mon Sep 17 00:00:00 2001 From: Karsten Deininger Date: Tue, 8 Mar 2022 12:26:34 +0000 Subject: [PATCH] Fix style --- oereb_client/routes.py | 1 + samples/views.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/oereb_client/routes.py b/oereb_client/routes.py index d5a6b545..39155575 100644 --- a/oereb_client/routes.py +++ b/oereb_client/routes.py @@ -10,6 +10,7 @@ def includeme(config): Args: config (pyramid.config.Configurator): The application's configuration object. """ + # Static views config.add_static_view('static', 'oereb_client:static', cache_max_age=3600) diff --git a/samples/views.py b/samples/views.py index 8741591e..e8e10e56 100644 --- a/samples/views.py +++ b/samples/views.py @@ -8,7 +8,8 @@ class Sample(object): def __init__(self, request): - """Entry point for sample rendering. + """ + Entry point for sample rendering. Args: request (pyramid.request.Request): The request instance.