From 1f71c58c182ee77f159f473641246c5b6502bad0 Mon Sep 17 00:00:00 2001 From: github-actions Date: Sun, 27 Oct 2024 13:19:41 -0400 Subject: [PATCH] fix chrome in fedora --- bbot/core/config/logger.py | 1 - bbot/modules/gowitness.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/bbot/core/config/logger.py b/bbot/core/config/logger.py index 6a213d42d1..5c48dd9f1b 100644 --- a/bbot/core/config/logger.py +++ b/bbot/core/config/logger.py @@ -71,7 +71,6 @@ def __init__(self, core): # Start the QueueListener self.listener = logging.handlers.QueueListener(self.queue, *self.log_handlers.values()) self.listener.start() - atexit.register(self.listener.stop) self.log_level = logging.INFO diff --git a/bbot/modules/gowitness.py b/bbot/modules/gowitness.py index 9d6d57483f..571456302e 100644 --- a/bbot/modules/gowitness.py +++ b/bbot/modules/gowitness.py @@ -72,7 +72,7 @@ async def setup(self): # make sure we have a working chrome install chrome_test_pass = False - for binary in ("chrome", "chromium", custom_chrome_path): + for binary in ("chrome", "chromium", "chromium-browser", custom_chrome_path): binary_path = self.helpers.which(binary) if binary_path and Path(binary_path).is_file(): chrome_test_proc = await self.run_process([binary_path, "--version"])