Skip to content

Commit

Permalink
Change Edition from "The List Reprints" to "The List"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jebus committed Mar 5, 2024
1 parent 44e8eb0 commit d4eca15
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tcg-to-deckbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit d4eca15

Please sign in to comment.