Skip to content

Commit deed79d

Browse files
committed
Fix min_version_guard when AL-Core is not present
1 parent dc50127 commit deed79d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

imas/command/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def min_version_guard(al_version: Version):
3636
al_version: Minimum imas_core version required for this command.
3737
"""
3838
used_version = ll_interface._al_version
39-
if used_version >= al_version:
39+
if used_version and used_version >= al_version:
4040
return
4141
click.echo(
4242
f"This command requires at least version {al_version} of the Access Layer."

0 commit comments

Comments
 (0)