diff --git a/get-poetry.py b/get-poetry.py index 16e4bdcddfd..6bb0a03043f 100644 --- a/get-poetry.py +++ b/get-poetry.py @@ -352,7 +352,9 @@ def run(self): version, current_version = self.get_version() if version is None: - return 0 + if current_version is not None: + return 0 + return 1 self.customize_install() self.display_pre_message()