Skip to content

Commit

Permalink
enable Bypass SSL by default
Browse files Browse the repository at this point in the history
  • Loading branch information
shinrax2 committed Dec 22, 2024
1 parent c3e6aa5 commit f5a7787
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions PS3GUD.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def __init__(self, window=None):
self.configDefaults["storageThresholdNew"] = 5
self.configDefaults["currentLoc"] = "en"
self.configDefaults["checkForNewRelease"] = True
self.configDefaults["bypass_ssl"] = False
self.configDefaults["bypass_ssl"] = True
self.configDefaults["add_all_updates_to_queue_automatically"] = False
self.configDefaults["use_proxy"] = False
self.configDefaults["proxy_ip"] = ""
Expand Down Expand Up @@ -222,8 +222,9 @@ def checkForUpdates(self, titleid):
verify_value = self.pemfile

resp = self.https_session.get(url, verify=verify_value, proxies=self.proxies)
except requests.exceptions.ConnectionError:
except requests.exceptions.ConnectionError as error:
self.logger.log(f"{self.loc.getKey('msg_metaNotAvailable')} ({url})", "e")
self.logger.log(f"{error}", "e")
if self.getConfig("use_proxy"):
self.logger.log(self.loc.getKey("msg_checkProxySettings"))
self.titleid = ""
Expand Down

0 comments on commit f5a7787

Please sign in to comment.