Fixed formatting to be black-compliant
This commit is contained in:
parent
753255e649
commit
21ce78f475
@ -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}"'
|
||||
|
Loading…
Reference in New Issue
Block a user