mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-09 17:15:35 +00:00
register custom persister fix
This commit is contained in:
@@ -6,8 +6,8 @@ from ..serialize import serialize, deserialize
|
||||
|
||||
class FilesystemPersister(object):
|
||||
|
||||
@classmethod
|
||||
def load_cassette(cls, cassette_path, serializer):
|
||||
@staticmethod
|
||||
def load_cassette(cassette_path, serializer):
|
||||
try:
|
||||
with open(cassette_path) as f:
|
||||
cassette_content = f.read()
|
||||
|
||||
Reference in New Issue
Block a user