[tor-commits] [bridgedb/master] Add template path to debug log
aagbsn at torproject.org
aagbsn at torproject.org
Fri Jun 21 09:31:14 UTC 2013
commit 4bb5b085d4973abd9aa4e371817103b42db756ef
Author: aagbsn <aagbsn at extc.org>
Date: Tue May 28 15:00:17 2013 -0400
Add template path to debug log
---
lib/bridgedb/HTTPServer.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/bridgedb/HTTPServer.py b/lib/bridgedb/HTTPServer.py
index dc61124..dc6fdf9 100644
--- a/lib/bridgedb/HTTPServer.py
+++ b/lib/bridgedb/HTTPServer.py
@@ -38,6 +38,8 @@ template_root = os.path.join(os.path.dirname(__file__),'templates')
lookup = TemplateLookup(directories=[template_root],
output_encoding='utf-8')
+logging.debug("Set template root to %s" % template_root)
+
try:
import GeoIP
# GeoIP data object: choose database here
More information about the tor-commits
mailing list