Fix pep8
All checks were successful
gl/check check status: success (2ed3bc4bf5be468d27ce963a4cca0d1154d2947b)

This commit is contained in:
SebastianGode 2023-06-20 10:38:47 +02:00
parent a3a3c5cd1f
commit 2ed3bc4bf5

View File

@ -143,7 +143,9 @@ class Services(object):
"type": doc["type"], "type": doc["type"],
"title": doc["title"] "title": doc["title"]
} }
type_exists = any(doc_dict["type"] == new_doc["type"] for doc_dict in docs) type_exists = any(
doc_dict["type"] == new_doc["type"] for doc_dict in docs
)
if not type_exists: if not type_exists:
docs.append(new_doc) docs.append(new_doc)