From 341315853abac91afc8cd259007a03b01e26971d Mon Sep 17 00:00:00 2001 From: Alexander Kozlovsky Date: Fri, 9 Sep 2022 15:46:53 +0200 Subject: [PATCH] Unconditionally include RESTComponent when starting Tribler Core as it is vital for GUI-Core communication --- src/tribler/core/start_core.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/tribler/core/start_core.py b/src/tribler/core/start_core.py index c22ec0ce79c..f85341f6609 100644 --- a/src/tribler/core/start_core.py +++ b/src/tribler/core/start_core.py @@ -51,8 +51,7 @@ def components_gen(config: TriblerConfig): """ yield ReporterComponent() yield GuiProcessWatcherComponent() - if config.api.http_enabled or config.api.https_enabled: - yield RESTComponent() + yield RESTComponent() if config.chant.enabled or config.torrent_checking.enabled: yield MetadataStoreComponent() if config.ipv8.enabled: