hook path needs to be absolute

This commit is contained in:
James Slagle 2013-08-08 09:30:23 -04:00
parent e0852a0c0b
commit 98a5352ba9
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class Element(object):
continue
hook = f[:-2]
hook_path = os.path.join(self.directory, f)
hook_path = os.path.abspath(os.path.join(self.directory, f))
logging.debug(' found hook: %s' % hook)