style: formatting

This commit is contained in:
Inex Code 2024-07-30 16:54:13 +03:00
parent 41215dce53
commit 22d4604dd8

View file

@ -145,7 +145,9 @@ def check_if_subdomain_is_taken(subdomain: str) -> bool:
with ReadUserData() as data: with ReadUserData() as data:
for module in data["modules"]: for module in data["modules"]:
if ( if (
data["modules"][module].get("subdomain", DEFAULT_SUBDOMAINS.get(module, "")) data["modules"][module].get(
"subdomain", DEFAULT_SUBDOMAINS.get(module, "")
)
== subdomain == subdomain
): ):
return True return True