From b49410918125b98d4d8fd09973a65130524024e8 Mon Sep 17 00:00:00 2001 From: marksomething Date: Fri, 7 Aug 2020 12:24:54 +1000 Subject: [PATCH] Tiny fix to example code --- docs/source/api.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/api.rst b/docs/source/api.rst index a0b9b8c..d3d7981 100644 --- a/docs/source/api.rst +++ b/docs/source/api.rst @@ -191,8 +191,8 @@ cassettes. In this case, you can do: session = Session() with Betamax.configure() as config: - c.cassette_library_dir = '.' - c.preserve_exact_body_bytes = True + config.cassette_library_dir = '.' + config.preserve_exact_body_bytes = True with Betamax(session).use_cassette('some_cassette'): r = session.get('http://example.com')