home · contact · privacy
With show_raw on boxes table caught now, remove additional check for it.
authorPlom Heller <plom@plomlompom.com>
Mon, 27 Jul 2026 22:11:38 +0000 (00:11 +0200)
committerPlom Heller <plom@plomlompom.com>
Mon, 27 Jul 2026 22:11:38 +0000 (00:11 +0200)
bricksplom.py

index 0b77517e0a0d87fe519d05ebe09b0698f40672aa..0d73038a42be93dcf063f3f975dda613d807b819 100755 (executable)
@@ -807,10 +807,8 @@ class BricksDb:
             items = tuple(item for item in items if item.match(p_key, p_val))
         if len(items) == 1 and not show_raw:
             return items[0].show()
-        return CHAR_NEWLINE.join(
-                [(item.raw() if isinstance(item, Textfiled) and show_raw
-                  else str(item))
-                 for item in items])
+        return CHAR_NEWLINE.join([item.raw() if show_raw else str(item)
+                                  for item in items])
 
 
 def main(