mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
minor tweaks: add default static_path for jinja,
remove unused import
This commit is contained in:
parent
c23dd7bda4
commit
a331061691
@ -1,6 +1,5 @@
|
||||
from pywb.cdx.cdxserver import create_cdx_server
|
||||
|
||||
from pywb.framework.archivalrouter import ArchivalRouter, Route
|
||||
from pywb.framework.basehandlers import BaseHandler
|
||||
from pywb.framework.wbrequestresponse import WbResponse
|
||||
|
||||
|
@ -66,7 +66,7 @@ def is_wb_handler(obj):
|
||||
|
||||
#=================================================================
|
||||
class J2TemplateView:
|
||||
env_globals = {}
|
||||
env_globals = {'static_path': 'static/default'}
|
||||
|
||||
def __init__(self, filename):
|
||||
template_dir, template_file = path.split(filename)
|
||||
|
Loading…
x
Reference in New Issue
Block a user