Fix
This commit is contained in:
@@ -47,8 +47,7 @@ def format_status() -> str:
|
||||
if pending:
|
||||
preview = ", ".join([p[0] for p in pending[:5]])
|
||||
lines.append(f"?? Next: {preview}")
|
||||
return "
|
||||
".join(lines)
|
||||
return "".join(lines)
|
||||
|
||||
|
||||
def format_details(limit: int = 10) -> str:
|
||||
@@ -68,5 +67,4 @@ def format_details(limit: int = 10) -> str:
|
||||
for i, (label, enqueued_at) in enumerate(pending[:limit], start=1):
|
||||
wait = int(now - enqueued_at)
|
||||
lines.append(f"{i:>3} | {label} | {wait}s")
|
||||
return "
|
||||
".join(lines)
|
||||
return "".join(lines)
|
||||
|
||||
Reference in New Issue
Block a user