Fix session resume and PSD container configuration
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import os
|
||||
from pathlib import Path
|
||||
|
||||
import typer
|
||||
@@ -7,7 +8,10 @@ from tht.config import ConfigError, load_config
|
||||
config_app = typer.Typer(help="Gestione configurazione")
|
||||
|
||||
CONFIG_OPT = typer.Option(
|
||||
Path("config/tht.yaml"), "--config", "-c", help="Percorso del file di configurazione."
|
||||
Path(os.environ.get("THT_CONFIG", "config/tht.yaml")),
|
||||
"--config",
|
||||
"-c",
|
||||
help="Percorso del file di configurazione.",
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user