[Dep Download][Fixed] Problems when connection timed-out

- Missing return variable
This commit is contained in:
Salvador E. Tropea 2023-09-05 06:52:21 -03:00
parent 92ea7ea193
commit 694fa02c6b
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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: