diff --git a/blackboard_sync/updates.py b/blackboard_sync/updates.py index dba32f3..106f1bd 100644 --- a/blackboard_sync/updates.py +++ b/blackboard_sync/updates.py @@ -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