diff --git a/app/__init__.py b/app/__init__.py index db58385..2e661dd 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -176,7 +176,7 @@ for cb_dir in cache_busting_dirs: # Templating functions app.jinja_env.globals.update(clean_query=clean_query) app.jinja_env.globals.update( - cb_url=lambda f: app.config['CACHE_BUSTING_MAP'][f]) + cb_url=lambda f: app.config['CACHE_BUSTING_MAP'][f.lower()]) # Attempt to acquire tor identity, to determine if Tor config is available send_tor_signal(Signal.HEARTBEAT)