From d4eca1510feca2a7b7160b2ae79631b3eaa4b1f6 Mon Sep 17 00:00:00 2001 From: Jebus Date: Tue, 5 Mar 2024 16:41:29 -0600 Subject: [PATCH] Change Edition from "The List Reprints" to "The List" --- src/tcg-to-deckbox.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/tcg-to-deckbox.py b/src/tcg-to-deckbox.py index f468f35..a1fe877 100644 --- a/src/tcg-to-deckbox.py +++ b/src/tcg-to-deckbox.py @@ -116,6 +116,10 @@ def removePrefix( text, prefix ): row["Edition"] = removePrefix( row["Edition"], "Commander: " ); row["Edition"] = "".join( [row["Edition"], " Commander"] ) + # Convert 'The List Reprints' to just 'The List' as deckbox expects + if row["Edition"] == "The List Reprints": + row["Edition"] = "The List" + # write the converted output csvwriter.writerow(row)