Add one more search path to path_dwim_relative

pull/9130/merge
James Cammarata 9 years ago
parent 033c77a13b
commit eb381bd522

@ -234,6 +234,7 @@ class DataLoader():
# try to create absolute path for loader basedir + templates/files/vars + filename
search.append(self.path_dwim(os.path.join(dirname,source)))
search.append(self.path_dwim(os.path.join(basedir, source)))
# try to create absolute path for loader basedir + filename
search.append(self.path_dwim(source))

Loading…
Cancel
Save