This commit is contained in:
Marc Beninca 2021-10-10 21:44:54 +02:00 committed by Marc Beninca
parent a5c8873436
commit 0aec6573f8
2 changed files with 2 additions and 2 deletions

View file

@ -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):

View file

@ -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)