1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-18 21:09:41 +02:00

fix screens

This commit is contained in:
dbarzin 2023-03-07 13:48:31 +01:00
parent fc702e29b8
commit 95cc64f0be
2 changed files with 7 additions and 5 deletions

View file

@ -751,6 +751,10 @@ def clean():
umount_device()
logging.info(
f'hostname="{hostname}", '
f'cleaned="{files_removed}/{len(infected_files)}"')
if not has_error:
if has_curses:
log('Device cleaned !', flush=True)
@ -760,11 +764,7 @@ def clean():
if has_curses:
log('Device not cleaned !', flush=True)
else:
display_image("ERROR")
wait_mouse_click()
logging.info(
f'hostname="{hostname}", '
f'cleaned="{files_removed}/{len(infected_files)}"')
display_image("WAIT")
else:
if not has_curses:
display_image("OK")