Skip to content

Commit

Permalink
Don't mix in '.' text from Master Duel, which corresponds to blanks
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlul committed Sep 1, 2024
1 parent ea40614 commit b61eebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/job_ocgtcg.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def mixin_text(
) -> None:
if not document[pkey][ckey]:
source = master_duel_card.get(skey)
if source:
if source and source != ".":
logger.info(f"Merging in Master Duel {pkey}.{ckey}")
if pkey == "text" or pkey == "pendulum_effect":
document[pkey][ckey] = LiteralScalarString(source)
Expand Down

0 comments on commit b61eebf

Please sign in to comment.