mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-24 04:51:27 +00:00
style: formatting
This commit is contained in:
parent
41215dce53
commit
22d4604dd8
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue