Skip to content

Commit

Permalink
Fix missing quotes on Custom Response Filtering
Browse files Browse the repository at this point in the history
Missing quotes are bad
  • Loading branch information
RomuloOliveira committed Jan 28, 2015
1 parent 14ef1e8 commit 4991d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -336,7 +336,7 @@ argument. It's usage is similar to that of `before_record`:
```python
def scrub_string(string, replacement=''):
def before_record_reponse(response):
return response['body']['string] = response['body']['string].replace(string, replacement)
return response['body']['string'] = response['body']['string'].replace(string, replacement)
return scrub_string

my_vcr = vcr.VCR(
Expand Down

0 comments on commit 4991d6f

Please sign in to comment.