feat(shared): pass config data via init (#2042)

This commit is contained in:
Jonas L 2022-08-12 15:12:39 +02:00 committed by GitHub
parent 2bde574487
commit 1147853c63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 65 additions and 44 deletions

View file

@ -106,7 +106,7 @@ def cli(log_level: str, log_filepath: Optional[Path], config_filepath: Optional[
Run playout.
"""
setup_logger(level_from_name(log_level), log_filepath)
config = Config(filepath=config_filepath)
config = Config(config_filepath)
try:
for dir_path in [CACHE_DIR, RECORD_DIR]: