template without path for gluino

This commit is contained in:
Massimo DiPierro committed 2012-03-13 13:54:45 -05:00
1 parent 4f8040481a
commit ff298ca507
2 files changed
+2 -2

No files matched your search

+1 -1
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: