Skip to content

Commit

Permalink
Fix software_information not returning correct version
Browse files Browse the repository at this point in the history
  • Loading branch information
dchesterton committed Aug 7, 2021
1 parent 5197eca commit 1002e8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/amcrest/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def software_information(self) -> Tuple[str, str]:
version, build_date = swinfo.split(",")
else:
version, build_date = swinfo.split()
_, _, version = build_date.rpartition("=")
_, _, version = version.rpartition("=")
_, _, build_date = build_date.rpartition(":")
return version, build_date

Expand Down

0 comments on commit 1002e8d

Please sign in to comment.