Skip to content

Commit c72b222

Browse files
authored
fix: backup location retry answer defualts to yes (#525) (#761)
1 parent 9e099db commit c72b222

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

images/utils/launcher/check_wallets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ def setup_backup_dir(self):
397397
print(f"Failed. ", end="")
398398
self.logger.debug(f"Failed to check backup dir {backup_dir}: {reason}")
399399
sys.stdout.flush()
400-
r = self.shell.no_or_yes("Retry?")
400+
r = self.shell.yes_or_no("Retry?")
401401
if r == "no":
402402
self.node_manager.down()
403403
raise FatalError("Backup directory not available")
@@ -459,7 +459,7 @@ def setup_restore_dir(self) -> None:
459459
print(f"Path not available. ", end="")
460460
self.logger.info(f"Failed to check restore dir {restore_dir}: {reason}")
461461
sys.stdout.flush()
462-
r = self.shell.yes_or_no("Do you wish to continue WITHOUT restoring channel balance, keys and historical data?")
462+
r = self.shell.no_or_yes("Do you wish to continue WITHOUT restoring channel balance, keys and historical data?")
463463
if r == "yes":
464464
restore_dir = "/tmp/fake-backup"
465465
break

0 commit comments

Comments
 (0)