eaf_base_api 2.5.3__tar.gz → 2.5.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: eaf_base_api
3
- Version: 2.5.3
3
+ Version: 2.5.4
4
4
  Summary: A base API for EchterAlsFake's Porn APIs
5
5
  Author: Johannes Habel
6
6
  Author-email: Johannes Habel <EchterAlsFake@proton.me>
@@ -763,11 +763,14 @@ class BaseCore:
763
763
  raise KillSwitch("CRITICAL PROXY ERROR, CHECK LOGS!")
764
764
 
765
765
  def initialize_session(self):
766
- if not self.config.ssl_context:
766
+ ctx = self.config.ssl_context
767
+
768
+ if not ctx:
767
769
  ctx = ssl.create_default_context(cafile=certifi.where())
768
- if not self.config.verify_ssl:
769
- ctx.check_hostname = False
770
- ctx.verify_mode = ssl.CERT_NONE
770
+
771
+ if not self.config.verify_ssl:
772
+ ctx.check_hostname = False
773
+ ctx.verify_mode = ssl.CERT_NONE
771
774
 
772
775
  if not http2_possible and self.config.use_http2:
773
776
  self.logger.error(f"""
@@ -4,7 +4,7 @@ build-backend = "uv_build"
4
4
 
5
5
  [project]
6
6
  name = "eaf_base_api"
7
- version = "2.5.3"
7
+ version = "2.5.4"
8
8
  description = "A base API for EchterAlsFake's Porn APIs"
9
9
  readme = { file = "README.md", content-type = "text/markdown" }
10
10
  requires-python = ">=3.9"
File without changes
File without changes