From 59c2bc54f98c57710050a48a68d615db15c849e9 Mon Sep 17 00:00:00 2001 From: Plom Heller Date: Tue, 28 Jul 2026 00:11:38 +0200 Subject: [PATCH] With show_raw on boxes table caught now, remove additional check for it. --- bricksplom.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bricksplom.py b/bricksplom.py index 0b77517..0d73038 100755 --- a/bricksplom.py +++ b/bricksplom.py @@ -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( -- 2.30.2