Skip to content

Commit

Permalink
fix: uhubctl introduced -N in 2.5.0
Browse files Browse the repository at this point in the history
Link: mvp/uhubctl@f8cb89f
Signed-off-by: Thomas Böhler <[email protected]>
  • Loading branch information
Witcher01 authored and nbuchwitz committed May 21, 2024
1 parent 92b07e1 commit 8628f71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uhubctl/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def version(cls) -> str:
def exec(cls, args: list = None, description: bool = False) -> list:
cmd = UHUBCTL_BINARY.split(" ")

if not description and version.parse(cls.version()) > version.parse("2.3.0"):
if not description and version.parse(cls.version()) >= version.parse("2.5.0"):
cmd.append("-N")

if args is not None:
Expand Down

0 comments on commit 8628f71

Please sign in to comment.