[Dep Download][Fixed] Problems when connection timed-out
- Missing return variable
This commit is contained in:
parent
92ea7ea193
commit
694fa02c6b
|
|
@ -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)
|
This limitation isn't found on KiCad 7. (#486)
|
||||||
- *exclude_from_bom* mismatch on KiCad 7
|
- *exclude_from_bom* mismatch on KiCad 7
|
||||||
- *Sheetfile* mismatch on KiCad 7 when testing from different directory
|
- *Sheetfile* mismatch on KiCad 7 when testing from different directory
|
||||||
|
- Dependencies downloader:
|
||||||
|
- Problems when connection timed-out
|
||||||
|
|
||||||
|
|
||||||
## [1.6.3] - 2023-06-26
|
## [1.6.3] - 2023-06-26
|
||||||
|
|
|
||||||
|
|
@ -716,6 +716,7 @@ def try_download_tool_binary(dep):
|
||||||
return None, None
|
return None, None
|
||||||
logger.info('- Trying to download {} ({})'.format(dep.name, dep.url_down))
|
logger.info('- Trying to download {} ({})'.format(dep.name, dep.url_down))
|
||||||
res = None
|
res = None
|
||||||
|
ver = None
|
||||||
# Determine the platform
|
# Determine the platform
|
||||||
system = platform.system()
|
system = platform.system()
|
||||||
plat = platform.platform()
|
plat = platform.platform()
|
||||||
|
|
@ -729,7 +730,7 @@ def try_download_tool_binary(dep):
|
||||||
plat = 'unk'
|
plat = 'unk'
|
||||||
logger.debug('- System: {} platform: {}'.format(system, plat))
|
logger.debug('- System: {} platform: {}'.format(system, plat))
|
||||||
# res = dep.downloader(dep, system, plat)
|
# res = dep.downloader(dep, system, plat)
|
||||||
# return res
|
# return res, ver
|
||||||
try:
|
try:
|
||||||
res, ver = dep.downloader(dep, system, plat)
|
res, ver = dep.downloader(dep, system, plat)
|
||||||
if res:
|
if res:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue