Skip to content

Commit

Permalink
Fix a bug with pydantic Url type in LoginWebView
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjacob committed Sep 17, 2023
1 parent 11da7bc commit c49fea7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion blackboard_sync/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions blackboard_sync/sync_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c49fea7

Please sign in to comment.