Skip to content

Commit

Permalink
Fixed flake8 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasily Zakharov committed Sep 17, 2024
1 parent c19f8fd commit f9f0c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/mocking_data_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def recv(self, size):
current_bytes = self.remaining_bytes[:size]
self.remaining_bytes = self.remaining_bytes[size:]

if self.remaining_bytes is b'':
if self.remaining_bytes == b'':
self.frame = None
self.remaining_bytes = None

Expand Down

0 comments on commit f9f0c39

Please sign in to comment.