From 18b3aa80a4484007b39f71e9d24e480bdbbea498 Mon Sep 17 00:00:00 2001 From: Plom Heller Date: Tue, 11 Aug 2026 01:51:09 +0200 Subject: [PATCH] Adapt "-f raw designs" output to new format expectations. --- src/bricksplom/misc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bricksplom/misc.py b/src/bricksplom/misc.py index d06a999..3b1aa5c 100644 --- a/src/bricksplom/misc.py +++ b/src/bricksplom/misc.py @@ -476,7 +476,8 @@ class BrickDesign(Textfiled, WithDb, Lookupable): attr_val = getattr(self, attr_key) if attr_val != getattr(BrickDesignData, attr_key): attrs += [f'{attr_key}{CHAR_ATTR_EQ}{attr_val}'] - return f'{raw}{"|".join(attrs)}{SEP_DESIGN_DESC}{self.description}' + attrs += [f'{SEP_DESIGN_DESC}{self.description}'] + return f'{raw}{CHAR_SEP_TOKEN.join(attrs)}' class Brick(Textfiled, WithDb, Lookupable): -- 2.30.2