diff --git a/__pycache__/config.cpython-314.pyc b/__pycache__/config.cpython-314.pyc index f3ccf99..fdf312f 100644 Binary files a/__pycache__/config.cpython-314.pyc and b/__pycache__/config.cpython-314.pyc differ diff --git a/__pycache__/database.cpython-314.pyc b/__pycache__/database.cpython-314.pyc index 8f7cb40..4589d60 100644 Binary files a/__pycache__/database.cpython-314.pyc and b/__pycache__/database.cpython-314.pyc differ diff --git a/__pycache__/main.cpython-314.pyc b/__pycache__/main.cpython-314.pyc index 5571a7f..9509870 100644 Binary files a/__pycache__/main.cpython-314.pyc and b/__pycache__/main.cpython-314.pyc differ diff --git a/__pycache__/veeam_client.cpython-314.pyc b/__pycache__/veeam_client.cpython-314.pyc index 4dbe540..e8db93a 100644 Binary files a/__pycache__/veeam_client.cpython-314.pyc and b/__pycache__/veeam_client.cpython-314.pyc differ diff --git a/main.py b/main.py index f93741f..3cea44d 100644 --- a/main.py +++ b/main.py @@ -264,7 +264,7 @@ async def _collect_instance(inst) -> dict | None: jid = backup_to_job.get(bid, "") if jid: rp_per_job[jid] = rp_per_job.get(jid, 0) + count - for j in jobs_data: + for j in jobs_data: jid = j.get("id") or j.get("Id") or "" if jid in rp_per_job: j["actual_restore_points"] = rp_per_job[jid] diff --git a/server.log b/server.log new file mode 100644 index 0000000..4c1569e --- /dev/null +++ b/server.log @@ -0,0 +1,7 @@ +INFO: Will watch for changes in these directories: ['/Users/smolkik/SynologyDrive/Документы/macosDocs/AI/v.0.1/Veeam_v2'] +INFO: Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit) +INFO: Started reloader process [78692] using WatchFiles +INFO: Started server process [78695] +INFO: Waiting for application startup. +INFO: Application startup complete. +INFO: 127.0.0.1:52243 - "GET /api/health HTTP/1.1" 200 OK