We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c490db4 commit 11ee26dCopy full SHA for 11ee26d
1 file changed
games/game_cyberpunk2077.py
@@ -581,7 +581,10 @@ def _map_cache_files(self):
581
self._is_cache_file_updated(file, data_path) for file in cache_files
582
):
583
qInfo('Updated game files detected, clearing "overwrite/r6/cache/*"')
584
- shutil.rmtree(overwrite_path / "r6/cache")
+ try:
585
+ shutil.rmtree(overwrite_path / "r6/cache")
586
+ except FileNotFoundError:
587
+ pass
588
new_cache_files = cache_files
589
else:
590
new_cache_files = list(self._unmapped_cache_files(data_path))
0 commit comments