home
·
contact
·
privacy
projects
/
bricksplom
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fccbc71
)
Adapt "-f raw designs" output to new format expectations.
author
Plom Heller
<plom@plomlompom.com>
Mon, 10 Aug 2026 23:51:09 +0000
(
01:51
+0200)
committer
Plom Heller
<plom@plomlompom.com>
Mon, 10 Aug 2026 23:51:09 +0000
(
01:51
+0200)
src/bricksplom/misc.py
patch
|
blob
|
history
diff --git
a/src/bricksplom/misc.py
b/src/bricksplom/misc.py
index d06a9991deedd43a49c614dbb73dbef5c21514c1..3b1aa5cc81be1d9242adcb3fa2be572d7ae69d5d 100644
(file)
--- 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):