mirror of
https://github.com/MrPatben8/konduktor.git
synced 2026-11-27 10:22:51 +01:00
Improved progress status section layout
This commit is contained in:
1 parent
ecc0e4c8df
commit
badf12b991
9 files changed
+154
-32
No files matched your search
@@ -202,7 +202,7 @@ with TestClient(main.app) as c:
|
||||
os.environ["FAKE_DELAY"] = "0.15"
|
||||
jid = c.post("/api/tracks/stems/convert", json={"track_ids": ids, "mode": "replace"}).json()["id"]
|
||||
end = time.time() + 30
|
||||
while time.time() < end and "separating" not in c.get(f"/api/jobs/{jid}").json()["message"]:
|
||||
while time.time() < end and "separating" not in c.get(f"/api/jobs/{jid}").json()["status"]:
|
||||
time.sleep(0.05)
|
||||
time.sleep(1.8) # into the second track
|
||||
c.post(f"/api/jobs/{jid}/cancel")
|
||||
|
||||
Reference in new issue
Block a user