From c49fea7460c1c366036566cef0c17349ca025ce2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20S=C3=A1nchez?= Date: Sun, 17 Sep 2023 02:55:41 +0100 Subject: [PATCH] Fix a bug with pydantic Url type in LoginWebView --- CHANGELOG.md | 6 ++++++ blackboard_sync/__about__.py | 2 +- blackboard_sync/sync_controller.py | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0243b9f..4900ab8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] + +## [0.9.9] - 2023-09-17 + +### Fixed +- Bug with pydantic Url typing + ## [0.9.8] - 2023-09-07 ### Changed diff --git a/blackboard_sync/__about__.py b/blackboard_sync/__about__.py index 0619209..6fb5725 100644 --- a/blackboard_sync/__about__.py +++ b/blackboard_sync/__about__.py @@ -33,7 +33,7 @@ __summary__ = "Automatic Syncing Of Your Blackboard Content" __uri__ = "https://github.com/jacobszpz/BlackboardSync" -__version__ = "0.9.8" +__version__ = "0.9.9" __author__ = "Jacob Sánchez" __email__ = "jacobszpz@protonmail.com" diff --git a/blackboard_sync/sync_controller.py b/blackboard_sync/sync_controller.py index fb9819a..53f0011 100644 --- a/blackboard_sync/sync_controller.py +++ b/blackboard_sync/sync_controller.py @@ -93,8 +93,8 @@ def _setup_complete(self) -> None: def _build_login_window(self, uni_login_info: InstitutionLogin) -> None: # Get login url from uni DB - self.login_window = LoginWebView(start_url=uni_login_info.start_url, - target_url=uni_login_info.target_url) + self.login_window = LoginWebView(start_url=str(uni_login_info.start_url), + target_url=str(uni_login_info.target_url)) self.login_window.login_complete_signal.connect(self._login_complete) def _login_complete(self) -> None: