diff --git a/docs/source/api.rst b/docs/source/api.rst index a6cdfd0..2cb3916 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')