exit after seed message

This commit is contained in:
thomasv 2013-10-31 15:42:52 +01:00
parent 83b885c702
commit 4ef6adf3ce
1 changed files with 5 additions and 2 deletions

View File

@ -178,8 +178,11 @@ class Wallet:
if self.seed_version not in [4, 6]:
msg = "This wallet seed is not supported."
if self.seed_version in [5]: msg += "\nTo open this wallet, try 'git checkout seed_v%d'"%self.seed_version
raise ValueError(msg)
if self.seed_version in [5]:
msg += "\nTo open this wallet, try 'git checkout seed_v%d'"%self.seed_version
print msg
sys.exit(1)
self.load_accounts()