1
0

fix: i18n is not imported

This commit is contained in:
ThomasV
2018-06-29 11:17:02 +02:00
parent 31eed35a0a
commit 87486e9487

View File

@@ -607,7 +607,7 @@ class WalletStorage(PrintError):
action = run_hook('get_action', self)
if self.file_exists() and self.requires_upgrade():
if action:
raise WalletFileException(_('Incomplete wallet files cannot be upgraded.'))
raise WalletFileException('Incomplete wallet files cannot be upgraded.')
return 'upgrade_storage'
if action:
return action