Skip to content

Commit

Permalink
Fix package name in check updates function (#381)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjacob authored Sep 19, 2024
1 parent a8a26bd commit 470348c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion blackboard_sync/updates.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@

def check_for_updates() -> bool:
"""Checks if there is a newer release than the current on Github."""
package = __package__.replace('_', '')

try:
__version__ = get_version(__package__)
__version__ = get_version(package)
except PackageNotFoundError:
return False

Expand Down

0 comments on commit 470348c

Please sign in to comment.