Skip to content

Commit

Permalink
Fix broken import
Browse files Browse the repository at this point in the history
  • Loading branch information
gizmo385 committed Jun 25, 2024
1 parent ef62927 commit 7ada118
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lazy_github/ui/app.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
from textual import log
from textual.app import App

import lazy_github.lib.github as g
from lazy_github.lib.config import Config
from lazy_github.lib.github.auth import token
from lazy_github.lib.github.auth import GithubAuthenticationRequired, token
from lazy_github.lib.github.client import GithubClient
from lazy_github.ui.screens.auth import AuthenticationModal
from lazy_github.ui.screens.primary import LazyGithubMainScreen
Expand All @@ -21,7 +20,7 @@ async def authenticate_with_github(self):
access_token = token()
client = GithubClient(config, access_token)
self.push_screen(LazyGithubMainScreen(client))
except g.GithubAuthenticationRequired:
except GithubAuthenticationRequired:
log("Triggering auth with github")
self.push_screen(AuthenticationModal(id="auth-modal"))

Expand Down

0 comments on commit 7ada118

Please sign in to comment.