diff --git a/distribution.py b/distribution.py index 9f23682..64be502 100644 --- a/distribution.py +++ b/distribution.py @@ -7,7 +7,7 @@ DISTRIBUTION = 'distrib' class Distribution: def __init__(self, architecture): self.architecture = architecture - self.path = os.sep.join([DISTRIBUTION, self.architecture.name]) + self.path = os.path.join(DISTRIBUTION, self.architecture.name) self.load() def load(self): diff --git a/subsystem.py b/subsystem.py index 765c344..e22933f 100644 --- a/subsystem.py +++ b/subsystem.py @@ -19,7 +19,7 @@ class SubSystem: list.append(self.name) if self.name == MAIN: list.append(self.architecture.name) - self.path = os.sep.join(list) + self.path = os.path.join(*list) # catalog self.catalog = catalog.Catalog(self)