Exit when --web without twisted installed

This commit is contained in:
jackjack 2011-08-18 17:14:48 +02:00
parent 3f22df2577
commit 9b7f065251

View File

@ -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")