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