modules/common.py: format_path instead of format
This commit is contained in:
parent
e5a602c1bb
commit
e8f03fa9dd
@ -527,9 +527,7 @@ def use_name(self):
|
|||||||
parts = name.split("/")
|
parts = name.split("/")
|
||||||
name = os.path.join(*parts)
|
name = os.path.join(*parts)
|
||||||
# Add optional suffixes based on constraints
|
# Add optional suffixes based on constraints
|
||||||
path_elements = [name]
|
return "-".join([name, *map(self.spec.format_path, self.conf.suffixes)])
|
||||||
path_elements.extend(map(self.spec.format, self.conf.suffixes))
|
|
||||||
return "-".join(path_elements)
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def filename(self):
|
def filename(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user