🚧 Set schema on location resolve

This commit is contained in:
GeoffreyCoulaud
2023-06-19 23:11:55 +02:00
parent f9000be272
commit e57a2a74df
7 changed files with 32 additions and 15 deletions

View File

@@ -93,8 +93,8 @@ class LegendarySource(Source):
iterator_class = LegendarySourceIterator
data_location: Location = Location(
schema_key="legendary-location",
candidates=(
lambda: shared.schema.get_string("legendary-location"),
shared.config_dir / "legendary/",
"~/.config/legendary",
),