We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37aef0f commit 576b463Copy full SHA for 576b463
scanpipe/views.py
@@ -2840,5 +2840,7 @@ def get_context_data(self, **kwargs):
2840
path = self.request.GET.get("path", "")
2841
context["path"] = path
2842
segments = path.strip("/").split("/")
2843
- context["path_segments"] = [ ("/".join(segments[:i+1]), segment) for i, segment in enumerate(segments) ]
+ context["path_segments"] = [
2844
+ ("/".join(segments[: i + 1]), segment) for i, segment in enumerate(segments)
2845
+ ]
2846
return context
0 commit comments