Skip to content

Commit

Permalink
fix: ssl bool
Browse files Browse the repository at this point in the history
  • Loading branch information
long2ice committed Apr 24, 2024
1 parent 044a4b0 commit a0f4fc3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions asyncmy/connection.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,8 @@ class Connection:
def _create_ssl_ctx(self, sslp):
if isinstance(sslp, ssl.SSLContext):
return sslp
elif not isinstance(sslp, dict):
return
ca = sslp.get("ca")
capath = sslp.get("capath")
hasnoca = ca is None and capath is None
Expand Down
2 changes: 1 addition & 1 deletion asyncmy/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__VERSION__ = "0.2.9"
__VERSION__ = "0.2.10-rc1"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ packages = [
]
readme = "README.md"
repository = "https://github.com/long2ice/asyncmy.git"
version = "0.2.9"
version = "0.2.10-rc1"

[tool.poetry.dependencies]
python = "^3.7"
Expand Down

0 comments on commit a0f4fc3

Please sign in to comment.