diff --git a/feedparser/encodings.py b/feedparser/encodings.py index c699fe4c..da8f0a31 100644 --- a/feedparser/encodings.py +++ b/feedparser/encodings.py @@ -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)