From 4269200a668c188635935109e8ad6f458a9d0d2d Mon Sep 17 00:00:00 2001 From: seanyoungberg <43679669+seanyoungberg@users.noreply.github.com> Date: Wed, 17 Jun 2020 17:37:19 -0400 Subject: [PATCH] fix: Correct how target_version is determined PR #216 --- pandevice/updater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandevice/updater.py b/pandevice/updater.py index 17d6425c..37864237 100644 --- a/pandevice/updater.py +++ b/pandevice/updater.py @@ -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