From baf4f0dbb0ca7e99ced0face9f60eaeff3a5b0d6 Mon Sep 17 00:00:00 2001 From: blissful Date: Sat, 20 Apr 2024 14:33:56 -0400 Subject: [PATCH] fix bug --- rose/releases.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rose/releases.py b/rose/releases.py index 9410e5c..0cf6e5a 100644 --- a/rose/releases.py +++ b/rose/releases.py @@ -275,7 +275,7 @@ def serialize(self) -> str: data = asdict(self) data["releaseyear"] = self.releaseyear or -9999 data["compositionyear"] = self.compositionyear or -9999 - data["catalognumber"] = self.releaseyear or "" + data["catalognumber"] = self.catalognumber or "" return tomli_w.dumps(data) @classmethod