From: Plom Heller Date: Mon, 27 Jul 2026 22:11:38 +0000 (+0200) Subject: With show_raw on boxes table caught now, remove additional check for it. X-Git-Url: https://plomlompom.com/repos/%22https:/validator.w3.org/edit?a=commitdiff_plain;h=59c2bc54f98c57710050a48a68d615db15c849e9;p=bricksplom With show_raw on boxes table caught now, remove additional check for it. --- 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(