From 5a45f257cad2f2077fc2acda872b48e12d2bc1c9 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 20 Oct 2017 09:53:54 +0200 Subject: [PATCH] fix #3071: import error message --- electrum | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum b/electrum index 7e948cdbf..f2ba3a581 100755 --- 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 '"%e.message) + sys.exit("Error: %s. Try 'sudo pip install '"%str(e)) # the following imports are for pyinstaller from google.protobuf import descriptor from google.protobuf import message