Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlul committed Sep 5, 2022
1 parent 52e3afb commit 5e25ae1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ jobs:
../../../yaml-yugipedia/wikitext/cards \
--zh-CN ../../../yaml-yugi-zh/zh-CN \
--assignments ../../src/assignments/assignments.yaml \
--tcg ../../data/limit-regulation/2022-05-17.vector.json \
--ocg ../../data/limit-regulation/2022-07-01.name.json
--tcg ../../data/limit-regulation/tcg/2022-05-17.vector.json \
--ocg ../../data/limit-regulation/ocg/2022-07-01.name.json
- name: Commit
id: commit
run: |
Expand Down
4 changes: 2 additions & 2 deletions src/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ def transform_structure(logger: logging.Logger, wikitext: Dict[str, str]) -> Opt
if "sc_sets" in wikitext:
document["sets"]["zh-CN"] = parse_sets(wikitext["sc_sets"])
document["limit_regulation"] = {
"tcg": wikitext.get("tcg_status") or "Unlimited",
"ocg": wikitext.get("ocg_status") or "Unlimited"
"tcg": wikitext.get("tcg_status"),
"ocg": wikitext.get("ocg_status")
}
if "tcg_speed_duel_status" in wikitext:
document["limit_regulation"]["speed"] = wikitext["tcg_speed_duel_status"]
Expand Down

0 comments on commit 5e25ae1

Please sign in to comment.