Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SireInsectus committed Oct 2, 2022
1 parent ab38798 commit b9832b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dbacademy_gems/dbgems/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ def check_for_latest_version(module: str, curriculum_workspaces_only=True) -> bo
try:
if curriculum_workspaces_only is False or is_curriculum_workspace():
# Don't do anything unless this is in one of the Curriculum Workspaces
current_version = lookup_current_module_version("dbacademy-gems")[1:]
versions = lookup_all_module_versions("dbacademy-gems")
current_version = lookup_current_module_version(module)[1:]
versions = lookup_all_module_versions(module)

if current_version == versions[-1]:
return True # They match, all done!
Expand Down

0 comments on commit b9832b8

Please sign in to comment.