Skip to content

Commit

Permalink
Fix 3rd-party build failures for JetBrain IDEs
Browse files Browse the repository at this point in the history
Fixes getsolus/3rd-party#81

Signed-off-by: Thomas Staudinger <[email protected]>
  • Loading branch information
Staudey committed Sep 14, 2024
1 parent 2514b31 commit 080809d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pisi/archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,8 @@ def _tar_file_list(self):
with self._open_tar() as tar:
paths = [tarinfo.path for tarinfo in tar]

self.fileobj.seek(0)
if self.fileobj is not None:
self.fileobj.seek(0)

return paths

Expand Down

0 comments on commit 080809d

Please sign in to comment.