Skip to content

Commit

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

Signed-off-by: Thomas Staudinger <[email protected]>
  • Loading branch information
Staudey committed Sep 14, 2024
1 parent 6638c24 commit a430621
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 @@ -492,7 +492,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 a430621

Please sign in to comment.