Fix an issue with normalizing the platform in filerenamer.py

This commit is contained in:
Timmy Welch 2022-11-23 12:34:59 -08:00
parent c608ff80a1
commit 1cbed64299
No known key found for this signature in database

View File

@ -71,7 +71,7 @@ class MetadataFormatter(string.Formatter):
) -> None:
super().__init__()
self.smart_cleanup = smart_cleanup
self.platform = str(normalize_platform(platform))
self.platform = normalize_platform(platform)
self.replacements = replacements
def format_field(self, value: Any, format_spec: str) -> str: