diff -r c1f1491f098c -r d79722064d8d lib/templates.py --- a/lib/templates.py Wed Dec 31 00:00:09 2008 -0500 +++ b/lib/templates.py Wed Dec 31 00:07:25 2008 -0500 @@ -1,7 +1,7 @@ from htmltmpl import TemplateManager, TemplateProcessor from urlparse import urljoin from os import environ, path -from config import template_dir +from config import CONFIG def get_curl(): url = "http" @@ -15,7 +15,7 @@ class Template: def __init__(self, template, prefs, status = "msg", status_msg = ""): self.tproc = TemplateProcessor() - self.tmpl = TemplateManager().prepare(path.join(template_dir, template)) + self.tmpl = TemplateManager().prepare(path.join(CONFIG.template_dir, template)) self.set("remote_user", prefs["fullname"]) self.set("kw_size", prefs['keywords_box']) self.set("kw_sort", prefs['keywords_sort'])