exit after seed message
authorthomasv <thomasv@gitorious>
Thu, 31 Oct 2013 14:42:52 +0000 (15:42 +0100)
committerthomasv <thomasv@gitorious>
Thu, 31 Oct 2013 14:42:52 +0000 (15:42 +0100)
lib/wallet.py

index e8b8b6c..c8f11a9 100644 (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()