diff --git a/get_data_new.py b/get_data_new.py index 1ff0f2d..10f87ed 100644 --- a/get_data_new.py +++ b/get_data_new.py @@ -441,7 +441,7 @@ def Scores_Quarter(merged: dict, *, out_dir: str = "static") -> None: logger.debug("Нет данных по счёту, сохраняем пустые значения.") out_path = "scores" - atomic_write_json(out_path, score_by_quarter) + atomic_write_json(score_by_quarter, out_path) logging.info("Сохранил payload: {out_path}") except Exception as e: