Skip to content

Commit

Permalink
adapter.http: remove unnecessary generator expression
Browse files Browse the repository at this point in the history
  • Loading branch information
jkhsjdhjs committed Jul 19, 2024
1 parent b826036 commit 4afc6ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basyx/aas/adapter/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4afc6ea

Please sign in to comment.