Skip to content

Commit f3f0cf3

Browse files
committed
Improve cert selection printout
1 parent 5c1e185 commit f3f0cf3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

common.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,11 +248,11 @@ def testCurlHeaders(url, certPath):
248248
print("chooseCurlCertificate(): Failed to download headers using CURL from github.com using cert [{}]".format(certificate_path))
249249
continue
250250

251-
print("chooseCurlCertificate(): Successfully used certificate {} to download from 07th-mod and github".format(certificate_path))
251+
print("chooseCurlCertificate(): Will use certificate [{}] when using cURL with 07th-mod and github".format(certificate_path))
252252
Globals.CA_CERT_PATH = certificate_path
253253
return
254254

255-
print("chooseCurlCertificate(): ERROR: No certificates were found to work, tried {} Probably can't use installer!".format(paths_to_try))
255+
print("chooseCurlCertificate(): ERROR: No certificates were found to work, tried [{}] Probably can't use installer!".format(paths_to_try))
256256

257257
# this function must be run AFTER scanCertLocation()
258258
@staticmethod
@@ -280,11 +280,11 @@ def testURLOpenHeaders(url, certPath):
280280
print("chooseURLOpenCertificate(): Failed to download headers using urlOpen from github.com using cert [{}]".format(certificate_path))
281281
continue
282282

283-
print("chooseURLOpenCertificate(): Successfully used certificate {} to download from 07th-mod and github".format(certificate_path))
283+
print("chooseURLOpenCertificate(): Will use certificate [{}] for URLOpen() on 07th-mod and github".format(certificate_path))
284284
Globals.URLOPEN_CERT_PATH = certificate_path
285285
return
286286

287-
print("chooseURLOpenCertificate(): ERROR: No certificates were found to work, tried {} Probably can't use installer!".format(paths_to_try))
287+
print("chooseURLOpenCertificate(): ERROR: No certificates were found to work, tried [{}] Probably can't use installer!".format(paths_to_try))
288288

289289

290290
@staticmethod

0 commit comments

Comments
 (0)