From 40a9c6387264cd49a6cd98e7f528d586f631f1b1 Mon Sep 17 00:00:00 2001 From: sjp761 <171447425+sjp761@users.noreply.github.com> Date: Wed, 14 Oct 2026 11:49:42 -0500 Subject: [PATCH] Put back in accidentally erased line --- legendary/core.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/legendary/core.py b/legendary/core.py index 0495f93..d320201 100644 --- a/legendary/core.py +++ b/legendary/core.py @@ -1654,6 +1654,9 @@ class LegendaryCore: if not max_workers: max_workers = self.lgd.config.getint('Legendary', 'max_workers', fallback=0) + exclude_file_path = os.path.join(self.lgd.path, "exclude", game.app_name) + self.log.info(f'Using exclude file if it exists: {exclude_file_path}') + try: with open(exclude_file_path, 'r', encoding='utf-8') as f: excludes = [line.strip().replace('\\', '/') for line in f if line.strip()]