From 21ce78f4751a38957e0814328b9f11cfdab0e04c Mon Sep 17 00:00:00 2001 From: profitroll Date: Fri, 26 May 2023 13:04:08 +0200 Subject: [PATCH] Fixed formatting to be black-compliant --- libbot/i18n/sync/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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}"'