Skip to content

Commit 4d92a38

Browse files
committed
Fix for _generate_sync_session removal.
1 parent d8a0f16 commit 4d92a38

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

mystbin/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@
2929

3030
__version__ = "1.0.1"
3131
VersionInfo = namedtuple("VersionInfo", "major minor micro releaselevel serial")
32-
version_info = VersionInfo(major=2, minor=1, micro=2, releaselevel="final", serial=0)
32+
version_info = VersionInfo(major=2, minor=1, micro=3, releaselevel="final", serial=0)

mystbin/client.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,7 @@ def __init__(
6363
self._are_we_async = session is None or isinstance(
6464
session, aiohttp.ClientSession
6565
)
66-
self.session = (
67-
self._generate_sync_session(session) if not self._are_we_async else session
68-
)
66+
self.session = session
6967

7068
async def _generate_async_session(self) -> aiohttp.ClientSession:
7169
"""

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "mystbin.py"
3-
version = "2.1.2"
3+
version = "2.1.3"
44
description = "A small simple wrapper around the mystb.in API."
55
authors = ["AbstractUmbra <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)