"vscode:/vscode.git/clone" did not exist on "7265dd8cc82e41624b4a979a22f0d15dba55e956"
Unverified Commit 85d2d8c9 authored by Lysandre Debut's avatar Lysandre Debut Committed by GitHub
Browse files

Fix local_files_only for TF (#6091)

parent 9e80f972
......@@ -847,7 +847,7 @@ def get_from_cache(
else:
matching_files = [
file
for file in fnmatch.filter(os.listdir(cache_dir), filename + ".*")
for file in fnmatch.filter(os.listdir(cache_dir), filename.split(".")[0] + ".*")
if not file.endswith(".json") and not file.endswith(".lock")
]
if len(matching_files) > 0:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment