From e654885f0bb54e9fa5f6a3289e55fd21a014ec06 Mon Sep 17 00:00:00 2001 From: JessicaTegner Date: Wed, 31 Jan 2024 15:46:15 +0100 Subject: [PATCH] Updated to teamtalk sdk v5.15 --- docs/whats-new.rst | 3 ++- teamtalk/tools/ttsdk_downloader.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/whats-new.rst b/docs/whats-new.rst index 27d0055..5651f40 100644 --- a/docs/whats-new.rst +++ b/docs/whats-new.rst @@ -20,7 +20,7 @@ This document holds a human-readable list of changes between releases. 1.2.0 - Unreleased --------------------------------- -This release adds subscriptions, and more expressive dir methods for Permissions, Channel Types and Server Properties, as well as fixing some long standing asyncio bugs. In addition, we also drop test compatibility for python 3.8 +This release adds subscriptions, and more expressive dir methods for Permissions, Channel Types and Server Properties, as well as fixing some long standing asyncio bugs. In addition, we also drop test compatibility for python 3.8, and we have updated to TeamTalk SDK 5.15 Added ~~~~~ @@ -31,6 +31,7 @@ Added Changed / Fixed ~~~~~~~~~~~~~~~ +- Updated to TeamTalk SDK 5.15 - Fixed a bug where if a registered coroutine called asyncio.sleep, the entire event loop would freeze until a new event was received. :version:`1.1.0` - 2023-03-24 diff --git a/teamtalk/tools/ttsdk_downloader.py b/teamtalk/tools/ttsdk_downloader.py index 1625ebf..409a5f1 100644 --- a/teamtalk/tools/ttsdk_downloader.py +++ b/teamtalk/tools/ttsdk_downloader.py @@ -50,7 +50,7 @@ def download() -> None: page = bs4.BeautifulSoup(r.text, features="html.parser") # The last tested version series is v5.12x versions = page.find_all("li") - version = [i for i in versions if "5.12" in i.text][-1].a.get("href")[0:-1] + version = [i for i in versions if "5.15" in i.text][-1].a.get("href")[0:-1] download_url = url + "/" + version + "/" + "tt5sdk_{v}_{p}.7z".format(v=version, p=get_url_suffix_from_platform()) print("Downloading from " + download_url) downloader.download_file(download_url, os.path.join(cd, "ttsdk.7z"))