fixed the path for core/commands/templates

This commit is contained in:
Simon Kern
2013-10-17 00:14:56 +02:00
parent b94e668e15
commit dc688ecc39
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
include README.rst COPYING requirements.txt
recursive-include modoboa *.html *.js *.css *.png *.po *.mo *.json *.gif
recursive-include modoboa/core/templates *.tpl
recursive-include doc *
recursive-include modoboa/core/commands/templates *.tpl
recursive-include doc *
+1 -1
View File
@@ -19,7 +19,7 @@ class Command(object):
self._verbose = verbose
if not settings.configured:
settings.configure()
self._templates_dir = "%s/commands/templates" % os.path.dirname(__file__)
self._templates_dir = "%s/templates" % os.path.dirname(__file__)
def _render_template(self, tplfile, env):
fp = open(tplfile)