From 22d4604dd879bc7f17063ea2524db018ea05d223 Mon Sep 17 00:00:00 2001 From: Inex Code Date: Tue, 30 Jul 2024 16:54:13 +0300 Subject: [PATCH] style: formatting --- selfprivacy_api/utils/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/selfprivacy_api/utils/__init__.py b/selfprivacy_api/utils/__init__.py index faf97ce..ba49dd3 100644 --- a/selfprivacy_api/utils/__init__.py +++ b/selfprivacy_api/utils/__init__.py @@ -145,7 +145,9 @@ def check_if_subdomain_is_taken(subdomain: str) -> bool: with ReadUserData() as data: for module in data["modules"]: if ( - data["modules"][module].get("subdomain", DEFAULT_SUBDOMAINS.get(module, "")) + data["modules"][module].get( + "subdomain", DEFAULT_SUBDOMAINS.get(module, "") + ) == subdomain ): return True