mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-18 01:13:30 -05:00
fix: index each data directory once per run
This commit is contained in:
1 parent
1ca37e429e
commit
4d365ff57f
3 files changed
+77
-9
No files matched your search
@@ -491,6 +491,11 @@ def refresh_all(
|
||||
dry_run=dry_run,
|
||||
versions_path=versions_path,
|
||||
)
|
||||
if any(results.values()):
|
||||
# A cache the resolver indexed in this process has changed under it.
|
||||
from common import forget_data_dir_index # noqa: PLC0415
|
||||
|
||||
forget_data_dir_index()
|
||||
return results
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user