parent
660cdbde11
commit
49c046cb3d
1 changed files with 3 additions and 1 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue