diff --git a/libbot/i18n/sync/__init__.py b/libbot/i18n/sync/__init__.py index 1fed415..e215f6e 100644 --- a/libbot/i18n/sync/__init__.py +++ b/libbot/i18n/sync/__init__.py @@ -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}"'