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("/")
|
||||
name = os.path.join(*parts)
|
||||
# Add optional suffixes based on constraints
|
||||
path_elements = [name]
|
||||
path_elements.extend(map(self.spec.format, self.conf.suffixes))
|
||||
return "-".join(path_elements)
|
||||
return "-".join([name, *map(self.spec.format_path, self.conf.suffixes)])
|
||||
|
||||
@property
|
||||
def filename(self):
|
||||
|
Loading…
Reference in New Issue
Block a user