From ff298ca507a286848c7ee607dcd433bc978fa3fc Mon Sep 17 00:00:00 2001 From: Massimo DiPierro Date: Tue, 13 Mar 2012 13:54:45 -0500 Subject: [PATCH] template without path for gluino --- VERSION | 2 +- gluon/template.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 0dfd633c..80eb1a64 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.7 (2012-03-12 23:27:38) dev +Version 1.99.7 (2012-03-13 13:54:42) dev diff --git a/gluon/template.py b/gluon/template.py index efcea98f..73bfc66f 100644 --- a/gluon/template.py +++ b/gluon/template.py @@ -435,7 +435,7 @@ class TemplateParser(object): filename = eval(filename, self.context) # Get the path of the file on the system. - filepath = os.path.join(self.path, filename) + filepath = self.path and os.path.join(self.path, filename) or filename # try to read the text. try: