second pass. medium
This commit is contained in:
@@ -58,7 +58,7 @@ class ExtractConfig:
|
||||
|
||||
|
||||
def load_config(path: Path) -> ExtractConfig:
|
||||
raw = yaml.safe_load(path.read_text())
|
||||
raw = yaml.safe_load(path.read_text()) or {}
|
||||
|
||||
inp = raw.get("input", {})
|
||||
dirs = [Path(d).expanduser() for d in inp.get("dirs", [])]
|
||||
|
||||
Reference in New Issue
Block a user