Fixed faction image fetching
This commit is contained in:
@@ -116,10 +116,18 @@ class Settings(BaseSettings):
|
||||
def tags_json(self) -> Path:
|
||||
return self.source_dir / f"tags_{self.language}.json"
|
||||
|
||||
@property
|
||||
def wiki_dir(self) -> Path:
|
||||
return self.source_dir / "wiki"
|
||||
|
||||
@property
|
||||
def tcg_dir(self) -> Path:
|
||||
return self.assets_dir / "tcg"
|
||||
|
||||
@property
|
||||
def faction_icons_dir(self) -> Path:
|
||||
return self.tcg_dir / "icons" / "factions"
|
||||
|
||||
@property
|
||||
def factions_override(self) -> Path:
|
||||
return self.assets_dir / "overrides" / "factions.json"
|
||||
@@ -144,6 +152,7 @@ class Settings(BaseSettings):
|
||||
"""Create every directory the pipeline writes to."""
|
||||
for directory in (
|
||||
self.source_dir,
|
||||
self.wiki_dir,
|
||||
self.tcg_dir,
|
||||
self.html_dir,
|
||||
self.png_dir,
|
||||
|
||||
Reference in New Issue
Block a user