Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jairhenrique committed Dec 28, 2024
1 parent c8d99a9 commit 5b858b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vcr/cassette.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def responses(self):

@property
def write_protected(self):
return self.rewound and self.record_mode == RecordMode.ONCE or self.record_mode == RecordMode.NONE
return (self.rewound and self.record_mode == RecordMode.ONCE) or self.record_mode == RecordMode.NONE

def append(self, request, response):
"""Add a request, response pair to this cassette"""
Expand Down

0 comments on commit 5b858b1

Please sign in to comment.