diff --git a/src/bugmon/evaluator_configs/browser.py b/src/bugmon/evaluator_configs/browser.py index 4014c7c..eb74276 100644 --- a/src/bugmon/evaluator_configs/browser.py +++ b/src/bugmon/evaluator_configs/browser.py @@ -23,7 +23,7 @@ def identify_prefs(attachment_dir: Path) -> Union[Path, None]: prefs_path = None for file in attachment_dir.rglob("*"): if file.suffix == ".js": - if "user_pref" in file.read_text(): + if "user_pref" in file.read_text(encoding="utf-8"): prefs_path = file return prefs_path