1
0
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:
Ilya Kreymer 2014-04-07 17:19:07 -07:00
parent c23dd7bda4
commit a331061691
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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)