mirror of
https://github.com/derrod/legendary.git
synced 2026-10-24 18:36:31 +00:00
Put back in accidentally erased line
This commit is contained in:
parent
31ba62a7a0
commit
40a9c63872
|
|
@ -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()]
|
||||
|
|
|
|||
Loading…
Reference in a new issue