@@ -119,7 +119,10 @@ class WalletStorage(PrintError):
|
||||
if encryption is disabled completely (self.is_encrypted() == False),
|
||||
or if encryption is enabled but the contents have already been decrypted.
|
||||
"""
|
||||
return bool(self.db.data)
|
||||
try:
|
||||
return bool(self.db.data)
|
||||
except AttributeError:
|
||||
return False
|
||||
|
||||
def is_encrypted(self):
|
||||
"""Return if storage encryption is currently enabled."""
|
||||
|
||||
Reference in New Issue
Block a user