walker: fix index path string cast
authorDmitry Selyutin <ghostmansd@gmail.com>
Sun, 3 Sep 2023 04:26:15 +0000 (07:26 +0300)
committerDmitry Selyutin <ghostmansd@gmail.com>
Sun, 3 Sep 2023 04:26:15 +0000 (07:26 +0300)
src/mdis/walker.py

index b98644a2e987733282fb6f3b6e1d534d3998b684..48cfe6ad013dfbd09b0eb9f81bdfa1d8472da5b3 100644 (file)
@@ -31,7 +31,7 @@ class GenericPath:
 
 class IndexPath(GenericPath):
     def __str__(self):
-        return f"[{self.path}]"
+        return f"[{self.path!r}]"
 
 
 class AttributePath(GenericPath):