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

index 48cfe6ad013dfbd09b0eb9f81bdfa1d8472da5b3..894357dc6279d850052436d3c045b463de7d2b7f 100644 (file)
@@ -36,7 +36,7 @@ class IndexPath(GenericPath):
 
 class AttributePath(GenericPath):
     def __str__(self):
-        return f".{self.path}]"
+        return f".{self.path}"
 
 
 class HashPath(GenericPath):