replace legacy ratings route with group ratings

This commit is contained in:
ducklet 2021-07-08 09:48:54 +02:00
parent a39a0e6442
commit 75391b1ca2
6 changed files with 207 additions and 16 deletions

View file

@ -11,4 +11,7 @@ loglevel = os.getenv("UNWIND_LOGLEVEL") or ("DEBUG" if debug else "INFO")
storage_path = os.getenv("UNWIND_STORAGE", "./data/db.sqlite")
config_path = os.getenv("UNWIND_CONFIG", "./data/config.toml")
imdb = toml.load(config_path)["imdb"]
_config = toml.load(config_path)
imdb = _config["imdb"]
api_credentials = _config["api"]["credentials"]