From 9b7f06525176a9889fea33c753b024dd07e15b66 Mon Sep 17 00:00:00 2001 From: jackjack Date: Thu, 18 Aug 2011 17:14:48 +0200 Subject: [PATCH] Exit when --web without twisted installed --- pywallet.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pywallet.py b/pywallet.py index aaf2597..77641f1 100755 --- a/pywallet.py +++ b/pywallet.py @@ -1925,6 +1925,7 @@ if __name__ == '__main__': if 'twisted' in missing_dep and options.web is not None: print("'twisted' package is not installed, pywallet web interface can't be launched") + exit(0) if 'ecdsa' in missing_dep: print("'ecdsa' package is not installed, pywallet won't be able to sign/verify messages")