From 694fa02c6ba95d51dc2c84df2958062289f5eb66 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Tue, 5 Sep 2023 06:52:21 -0300 Subject: [PATCH] [Dep Download][Fixed] Problems when connection timed-out - Missing return variable --- CHANGELOG.md | 2 ++ kibot/dep_downloader.py | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d2efc7fc..bc3d8e35 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -48,6 +48,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 This limitation isn't found on KiCad 7. (#486) - *exclude_from_bom* mismatch on KiCad 7 - *Sheetfile* mismatch on KiCad 7 when testing from different directory +- Dependencies downloader: + - Problems when connection timed-out ## [1.6.3] - 2023-06-26 diff --git a/kibot/dep_downloader.py b/kibot/dep_downloader.py index df097352..a4f636ab 100644 --- a/kibot/dep_downloader.py +++ b/kibot/dep_downloader.py @@ -716,6 +716,7 @@ def try_download_tool_binary(dep): return None, None logger.info('- Trying to download {} ({})'.format(dep.name, dep.url_down)) res = None + ver = None # Determine the platform system = platform.system() plat = platform.platform() @@ -729,7 +730,7 @@ def try_download_tool_binary(dep): plat = 'unk' logger.debug('- System: {} platform: {}'.format(system, plat)) # res = dep.downloader(dep, system, plat) - # return res + # return res, ver try: res, ver = dep.downloader(dep, system, plat) if res: