Skip to content

Commit

Permalink
fix dnw
Browse files Browse the repository at this point in the history
  • Loading branch information
iiiii7d committed Jul 1, 2024
1 parent 30e740a commit 0fa14ef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

from gatelogue_aggregator.downloader import DEFAULT_CACHE_DIR, DEFAULT_TIMEOUT, get_url
from gatelogue_aggregator.logging import RESULT
from gatelogue_aggregator.sources.wiki_base import get_wiki_html
from gatelogue_aggregator.types.base import Source
from gatelogue_aggregator.types.node.rail import RailContext, RailLineBuilder, RailSource

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ def __init__(self, cache_dir: Path = DEFAULT_CACHE_DIR, timeout: int = DEFAULT_T
code = warp["name"].split("-")[1].lower()
if code in ("nsg", "rvb"):
continue
if code == "dne" and warp["name"].split("-")[2].lower() == "r5a":
code = "dnw"
code = {
"n104": {"n104", "n203", "n300"},
"n203": {"n104", "n203", "n300"},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
from __future__ import annotations

import dataclasses
from typing import Any, Container, Literal, Self, override
from collections.abc import Container
from typing import Any, Literal, Self, override

import msgspec

Expand Down

0 comments on commit 0fa14ef

Please sign in to comment.