diff --git a/pydrive2/fs/spec.py b/pydrive2/fs/spec.py index c5abe03d..3db3af55 100644 --- a/pydrive2/fs/spec.py +++ b/pydrive2/fs/spec.py @@ -265,6 +265,7 @@ def _ids_cache(self): return cache + @wrap_prop(threading.RLock()) def _cache_path_id(self, path, *item_ids, cache=None): cache = cache or self._ids_cache for item_id in item_ids: