Skip to content

Commit 2202912

Browse files
authored
Fix AttributeError os.exists is not valid python attribute. (#554)
1 parent 8ad61a6 commit 2202912

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def open(self):
314314
def close(self, failed=False):
315315
self._zip.close()
316316
self._zip = None
317-
if not os.exists(self._tmp_filename):
317+
if not os.path.exists(self._tmp_filename):
318318
return
319319
if failed:
320320
os.unlink(self._tmp_filename)

0 commit comments

Comments
 (0)