Skip to content

Commit

Permalink
Replace limitation_text with boolean flag
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlul committed Oct 6, 2024
1 parent 13ca831 commit ba46b64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def annotate_shared(document: Dict[str, Any], wikitext: Dict[str, str]) -> None:
if "materials" in wikitext:
document["materials"] = wikitext["materials"]
if "limitation_text" in wikitext:
document["limitation_text"] = wikitext["limitation_text"]
document["cannot_be_used_in_official_duels"] = True
if "archseries" in wikitext:
# Convert bulleted list to array and remove " (archetype)"
document["series"] = [
Expand Down

0 comments on commit ba46b64

Please sign in to comment.