Fixed formatting to be black-compliant

This commit is contained in:
Profitroll 2023-05-26 13:04:08 +02:00
parent 753255e649
commit 21ce78f475

View File

@ -27,9 +27,7 @@ def _(key: str, *args: str, locale: str = sync.config_get("locale")) -> Any:
except FileNotFoundError:
try:
this_dict = json_read(
Path(
f'{config_get("locale", "locations")}/{config_get("locale")}.json'
)
Path(f'{config_get("locale", "locations")}/{config_get("locale")}.json')
)
except FileNotFoundError:
return f'⚠️ Locale in config is invalid: could not get "{key}" in {args} from locale "{locale}"'