diff --git a/vcr/persisters/filesystem.py b/vcr/persisters/filesystem.py index ecbd9b7..6a1a275 100644 --- a/vcr/persisters/filesystem.py +++ b/vcr/persisters/filesystem.py @@ -13,7 +13,7 @@ class FilesystemPersister(object): fd, name = tempfile.mkstemp(dir=dirname, prefix=filename) with os.fdopen(fd, 'w') as fout: fout.write(contents) - os.rename(name, path) + os.rename(name, path) @classmethod def write(cls, cassette_path, data):