mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 22:54:16 +02:00
[core] improvement: new configuration property to disable SSL checking when downloading files
This commit is contained in:
@@ -35,6 +35,11 @@ def main():
|
||||
|
||||
cache_factory = DefaultMemoryCacheFactory(expiration_time=0)
|
||||
|
||||
downloader = AdaptableFileDownloader(logger=logger, multithread_enabled=app_config['download']['multithreaded'],
|
||||
multithread_client=app_config['download']['multithreaded_client'],
|
||||
i18n=i18n, http_client=http_client,
|
||||
check_ssl=app_config['download']['check_ssl'])
|
||||
|
||||
context = ApplicationContext(i18n=i18n,
|
||||
http_client=http_client,
|
||||
download_icons=bool(app_config['download']['icons']),
|
||||
@@ -43,8 +48,7 @@ def main():
|
||||
disk_loader_factory=DefaultDiskCacheLoaderFactory(logger),
|
||||
logger=logger,
|
||||
distro=util.get_distro(),
|
||||
file_downloader=AdaptableFileDownloader(logger, bool(app_config['download']['multithreaded']),
|
||||
i18n, http_client, app_config['download']['multithreaded_client']),
|
||||
file_downloader=downloader,
|
||||
app_name=__app_name__,
|
||||
app_version=__version__,
|
||||
internet_checker=InternetChecker(offline=False),
|
||||
|
||||
Reference in New Issue
Block a user