Convert SSL error to string (from tuple) before displaying the error.

This commit is contained in:
Greg Neagle
2014-06-09 12:06:56 -07:00
parent 56c856e469
commit cf6c189bd9
+1 -1
View File
@@ -188,7 +188,7 @@ def get_url(url, destinationpath,
connection.error.localizedDescription())
if connection.SSLerror:
munkicommon.display_detail(
'SSL error detail: %s' % connection.SSLerror)
'SSL error detail: %s' % str(connection.SSLerror))
munkicommon.display_detail('Headers: %s', connection.headers)
if os.path.exists(tempdownloadpath) and not resume:
os.remove(tempdownloadpath)