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)