Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 28, 2024
1 parent 536bc5a commit d27a9d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions feedparser/encodings.py
Original file line number Diff line number Diff line change
Expand Up @@ -623,9 +623,9 @@ def read(self, size=-1):

if self.offset < len(self.prefix):
if size < 0:
chunk = self.prefix[self.offset:]
chunk = self.prefix[self.offset :]
else:
chunk = self.prefix[self.offset:self.offset + size]
chunk = self.prefix[self.offset : self.offset + size]
size -= len(chunk)
buffer += chunk
self.offset += len(chunk)
Expand Down

0 comments on commit d27a9d9

Please sign in to comment.