1
0

qt wizard: don't consider old version storage to be incomplete

This commit is contained in:
SomberNight
2019-03-01 19:44:20 +01:00
parent 121b8048b0
commit ef8d7e3227
2 changed files with 5 additions and 11 deletions

View File

@@ -240,12 +240,4 @@ class WalletStorage(PrintError):
def get_action(self):
action = run_hook('get_action', self)
if self.file_exists() and self.requires_upgrade():
if action:
raise WalletFileException('Incomplete wallet files cannot be upgraded.')
return 'upgrade_storage'
if action:
return action
if not self.file_exists():
return 'new'
return action