diff --git a/pyjade/compiler.py b/pyjade/compiler.py index c9cb627..1e41fc7 100644 --- a/pyjade/compiler.py +++ b/pyjade/compiler.py @@ -258,6 +258,7 @@ def visitAssignment(self,assignment): def format_path(self,path): + path = path.strip("'\"") has_extension = os.path.basename(path).find('.') > -1 if not has_extension: path += self.extension