Skip to content

Commit

Permalink
Reformat code in LoginWebView
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjacob committed Sep 17, 2024
1 parent 3271fa4 commit d337646
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions blackboard_sync/qt/LoginWebView.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,6 @@ def __init__(self, help_url: str) -> None:

self._init_ui()

def cancel_watchdog(self) -> None:
if self.watchdog:
self.watchdog.cancel()

def _init_ui(self) -> None:
load_ui(self)

Expand Down Expand Up @@ -163,6 +159,10 @@ def get_profile_and_cookie_store(

return (profile, cookie_store)

def cancel_watchdog(self) -> None:
if self.watchdog:
self.watchdog.cancel()

@property
def url(self) -> str:
"""URL of current website."""
Expand Down

0 comments on commit d337646

Please sign in to comment.