Reverted temporary files change

This commit is contained in:
Koen van Zuijlen 2020-12-29 22:12:43 +01:00
parent b992d26138
commit c851b82a1d

View file

@ -421,7 +421,7 @@ class _Network:
""" """
if not file_path: if not file_path:
file_path = tempfile.mkstemp(prefix="pylast_tmp_") file_path = tempfile.mktemp(prefix="pylast_tmp_")
self.cache_backend = _ShelfCacheBackend(file_path) self.cache_backend = _ShelfCacheBackend(file_path)