Skip to content

Commit

Permalink
fix: Correct how target_version is determined
Browse files Browse the repository at this point in the history
PR #216
  • Loading branch information
seanyoungberg authored Jun 17, 2020
1 parent 3ec2b26 commit 4269200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandevice/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def _direct_upgrade_possible(self, current_version, target_version):
# eg. 6.0.2 -> 6.0.3
if (
current_version.major == target_version.major
and current_version.minor == current_version.minor
and current_version.minor == target_version.minor
):
return True

Expand Down

0 comments on commit 4269200

Please sign in to comment.