[fix] resetting the main configuration when tray mode is active

This commit is contained in:
Vinicius Moreira
2020-06-02 12:04:46 -03:00
parent 0912384781
commit 1345dd4c74
2 changed files with 3 additions and 2 deletions

View File

@@ -11,7 +11,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- download clients parameters
### Fixes
- resetting some configuration fields during initialization
- resetting the main configuration when tray mode is active [#118](https://github.com/vinifmor/bauh/issues/118)
- bauh-cli crashing (https://github.com/vinifmor/bauh/issues/118)
- Arch
- not checking if **pacman-mirrors** is available before starting to download repository packages (when multi-threaded download is enabled) [#117](https://github.com/vinifmor/bauh/issues/117)

View File

@@ -41,7 +41,7 @@ def main():
logger=logger,
distro=util.get_distro(),
file_downloader=AdaptableFileDownloader(logger, bool(app_config['download']['multithreaded']),
i18n, http_client),
i18n, http_client, app_config['download']['multithreaded_client']),
app_name=__app_name__)
managers = gems.load_managers(context=context, locale=i18n.current_key, config=app_config, default_locale=DEFAULT_I18N_KEY)