From 4ef6adf3cee9d3d99d648162528ed712fdf8f0ac Mon Sep 17 00:00:00 2001 From: thomasv Date: Thu, 31 Oct 2013 15:42:52 +0100 Subject: [PATCH] exit after seed message --- lib/wallet.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/wallet.py b/lib/wallet.py index e8b8b6cbb..c8f11a936 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -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()