From a59c1fbaa76c75550e6f630346cb1743697e56ae Mon Sep 17 00:00:00 2001 From: Ismail Date: Mon, 29 Jun 2015 16:19:30 +0100 Subject: [PATCH] Make sure path is normalised On Windows, I have the situation where this path variable has forward and backward slashes in it. This makes sure all the slashes are the same and the correct type. --- bowerstatic/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bowerstatic/core.py b/bowerstatic/core.py index 022ea87..e1e0d8e 100644 --- a/bowerstatic/core.py +++ b/bowerstatic/core.py @@ -223,7 +223,7 @@ def __init__(self, bower, component_collection, path, name, version, main, dependencies, autoversion): self.bower = bower self.component_collection = component_collection - self.path = path + self.path = os.path.normpath(path) self.name = name self._version = version self.main = main