From 0aec6573f84cf94156003a99fbc70a6561d77f23 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 10 Oct 2021 21:44:54 +0200 Subject: [PATCH] path --- distribution.py | 2 +- subsystem.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)