archive working better with listcomps

This commit is contained in:
Tim Bendt
2025-05-08 12:27:44 -06:00
parent 125f500769
commit 6eb25478a4
2 changed files with 9 additions and 10 deletions

View File

@@ -27,7 +27,7 @@ async def archive_current(app) -> None:
app.show_status(f"{stdout.decode()}", "info")
logging.info(stdout.decode())
if process.returncode == 0:
await app.query_one(ListView).pop(index)
app.query_one(ListView).pop(index)
app.query_one(ListView).index = index
# app.action_next() # Automatically show the next message
else: