template without path for gluino

This commit is contained in:
Massimo DiPierro
2012-03-13 13:54:45 -05:00
parent 4f8040481a
commit ff298ca507
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +1 @@
Version 1.99.7 (2012-03-12 23:27:38) dev
Version 1.99.7 (2012-03-13 13:54:42) dev

View File

@@ -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: