commit 5a45f257cad2f2077fc2acda872b48e12d2bc1c9
parent 76da6916f3cef08f0e2ff7fb22b4a3c76f8dee5c
Author: ThomasV <thomasv@electrum.org>
Date: Fri, 20 Oct 2017 09:53:54 +0200
fix #3071: import error message
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum b/electrum
@@ -69,7 +69,7 @@ def check_imports():
import google.protobuf
import jsonrpclib
except ImportError as e:
- sys.exit("Error: %s. Try 'sudo pip install <module-name>'"%e.message)
+ sys.exit("Error: %s. Try 'sudo pip install <module-name>'"%str(e))
# the following imports are for pyinstaller
from google.protobuf import descriptor
from google.protobuf import message