Skip to content

Commit

Permalink
hotfix/fix-auth-import-error-catching
Browse files Browse the repository at this point in the history
  • Loading branch information
DhanshreeA committed Jan 23, 2025
1 parent 4befac5 commit d429f07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ersilia/auth/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
try:
from github import Github
from github.GithubException import UnknownObjectException
except ModuleNotFoundError:
except (ModuleNotFoundError, ImportError):
Github = None
UnknownObjectException = None

Expand Down

0 comments on commit d429f07

Please sign in to comment.