# HG changeset patch # User cmlenz # Date 1120679560 0 # Node ID 7129b8a2f12540409dc4f9dcd78cc7077cc45474 # Parent dc1c7fc9b915067dbb577946f8338e94d97af70b Fix error when running from an installed instance where the {{{htdocs_dir}}} and/or {{{templates_dir}}} options aren't set. diff --git a/bitten/trac_ext/web_ui.py b/bitten/trac_ext/web_ui.py --- a/bitten/trac_ext/web_ui.py +++ b/bitten/trac_ext/web_ui.py @@ -20,6 +20,7 @@ import os.path import re +import sys from time import localtime, strftime from trac.core import *