Skip to content

Commit

Permalink
DirectReader: use correct info object
Browse files Browse the repository at this point in the history
  • Loading branch information
markokr committed Sep 17, 2023
1 parent d147d73 commit 8e228d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rarfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -2521,7 +2521,7 @@ def _read(self, cnt):
"""Read from potentially multi-volume archive."""

pos = self._fd.tell()
need = self._inf.data_offset + self._cur.add_size - self._cur_avail
need = self._cur.data_offset + self._cur.add_size - self._cur_avail
if pos != need:
self._fd.seek(need, 0)

Expand Down

0 comments on commit 8e228d1

Please sign in to comment.