|
@ -60,7 +60,9 @@ class WalletStorage(PrintError): |
|
|
self.print_error("wallet path", self.path) |
|
|
self.print_error("wallet path", self.path) |
|
|
if self.path: |
|
|
if self.path: |
|
|
self.read(self.path) |
|
|
self.read(self.path) |
|
|
|
|
|
if self.requires_upgrade(): |
|
|
|
|
|
self.print_error('upgrading wallet format') |
|
|
|
|
|
self.upgrade() |
|
|
# check here if I need to load a plugin |
|
|
# check here if I need to load a plugin |
|
|
t = self.get('wallet_type') |
|
|
t = self.get('wallet_type') |
|
|
l = plugin_loaders.get(t) |
|
|
l = plugin_loaders.get(t) |
|
|