replace more '.format(…)' calls with f-strings (#7671)

This commit is contained in:
Mike Fährmann
2025-07-10 21:05:10 +02:00
parent a619638178
commit 096bc6f784
14 changed files with 54 additions and 78 deletions

View File

@@ -417,7 +417,7 @@ class Extractor():
for key, value in HEADERS[browser]:
if value and "{}" in value:
headers[key] = value.format(platform)
headers[key] = value.replace("{}", platform)
else:
headers[key] = value