From df1b9f0f9cba538525940a1976d3dbe920451dca Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Fri, 12 Aug 2022 10:22:22 -0400 Subject: [PATCH] Island: Fix return type hint for Version._get_version_info() --- monkey/monkey_island/cc/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/monkey_island/cc/version.py b/monkey/monkey_island/cc/version.py index a67fd440d..b3896e66a 100644 --- a/monkey/monkey_island/cc/version.py +++ b/monkey/monkey_island/cc/version.py @@ -56,7 +56,7 @@ class Version: self._latest_version, self._download_url = self._get_version_info() self._initialization_complete.set() - def _get_version_info(self) -> Tuple[Optional[str], Optional[str]]: + def _get_version_info(self) -> Tuple[str, Optional[str]]: url = LATEST_VERSION_URL.format(self._deployment.value) try: