Skip to content

Commit

Permalink
Fix AttributeError os.exists is not valid python attribute. (#554)
Browse files Browse the repository at this point in the history
  • Loading branch information
lociko authored Mar 29, 2024
1 parent 8ad61a6 commit 2202912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ def open(self):
def close(self, failed=False):
self._zip.close()
self._zip = None
if not os.exists(self._tmp_filename):
if not os.path.exists(self._tmp_filename):
return
if failed:
os.unlink(self._tmp_filename)
Expand Down

0 comments on commit 2202912

Please sign in to comment.