How many attempts have I made to fix this bug?

master
blank X 1 year ago
parent dc1d036f02
commit 4f5920866a
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
  1. 2
      autoytarchive/cappedio.py

@ -29,7 +29,7 @@ class CappedBufferedReader(io.BufferedReader):
elif whence == os.SEEK_SET:
current_pos = self.tell()
if current_pos > offset:
self.capped_size += current_pos - offset
self.capped_size += current_pos
return super().seek(offset, whence)
@property

Loading…
Cancel
Save