Closed donnemartin closed 8 years ago
The previous check os.path.exists also checks for directories, os.path.isfile seems to be a cleaner way to check if a file exists.
:shipit:
The previous check os.path.exists also checks for directories, os.path.isfile seems to be a cleaner way to check if a file exists.