split
All checks were successful
/ job (push) Successful in 6m55s

This commit is contained in:
Marc Beninca 2024-06-09 18:41:20 +02:00
parent 660cdbde11
commit 49c046cb3d
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -16,7 +16,9 @@ class Projects:
# group, name # group, name
for variable in GROUP_AND_NAME: for variable in GROUP_AND_NAME:
if value := self.environment.get(variable, None): if value := self.environment.get(variable, None):
self.group, self.name = path.split(value) path = Path(value)
self.group = path.parent
self.name = path.name
# url # url
for variable in SERVER_URL: for variable in SERVER_URL:
if value := self.environment.get(variable, None): if value := self.environment.get(variable, None):