This commit is contained in:
Daniel Bauer
2024-11-11 09:40:52 +01:00
parent 01affafd7a
commit 8b09f4feb5
9 changed files with 13 additions and 13 deletions

View File

@@ -13,5 +13,5 @@ def add_signposts(response: HttpResponse, *args: Signpost):
response._signposts = []
for signpost in args:
if not signpost in response._signposts:
response._signposts.append(signpost)
if signpost not in response._signposts:
response._signposts.append(signpost)