From 4afc6ea6ca0eac737432880c8fd34ba4cccacd0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20M=C3=B6ller?= Date: Sat, 20 Jul 2024 00:06:10 +0200 Subject: [PATCH] adapter.http: remove unnecessary generator expression --- basyx/aas/adapter/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basyx/aas/adapter/http.py b/basyx/aas/adapter/http.py index 6cbf7fc53..c16dc689c 100644 --- a/basyx/aas/adapter/http.py +++ b/basyx/aas/adapter/http.py @@ -382,7 +382,7 @@ class IdShortPathConverter(werkzeug.routing.UnicodeConverter): id_short_sep = "." def to_url(self, value: List[str]) -> str: - return super().to_url(self.id_short_sep.join(id_short for id_short in value)) + return super().to_url(self.id_short_sep.join(value)) def to_python(self, value: str) -> List[str]: id_shorts = super().to_python(value).split(self.id_short_sep)