GUI: drop Rielabora buttons; log report progress to Prefect
This commit is contained in:
@@ -34,6 +34,7 @@ PROG = None # [name, calls done, calls expected] while report.run() is active
|
||||
|
||||
|
||||
def _tick(note):
|
||||
print(f"report: {note}", flush=True) # flow(log_prints=True) -> Prefect log
|
||||
if PROG: PROG[1] += 1; db.tick(PROG[0], PROG[1], max(PROG[2], PROG[1] + 1) if note != "fine" else PROG[1], note)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user