Browse Source

fix: i18n is not imported

3.2.x
ThomasV 7 years ago
parent
commit
87486e9487
  1. 2
      lib/storage.py

2
lib/storage.py

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

Loading…
Cancel
Save