1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-08 16:53:23 +00:00

fix weird bug that cropped up every now and then

This commit is contained in:
Kevin McCarthy
2012-05-30 21:34:42 -10:00
parent 1594a1dab5
commit ad365bbc87

View File

@@ -51,7 +51,7 @@ class VCRHTTPConnection(HTTPConnection):
'body': {'string': response.read()},
})
self._save_cassette()
return response
return VCRHTTPResponse(self._cassette[0]['response'])
class VCRHTTPSConnection(VCRHTTPConnection):