166 | 166 | "Decoding 'mp3' files requires system library 'libsndfile'>=1.1.0, " | |
167 | 167 | 'You can try to update `soundfile` python library: `pip install "soundfile>=0.12.1"`. ' | |
168 | 168 | ) | |
169 | |||
170 | if file is None: | ||
169 | if path is not None and os.path.exists(path): |
os.path.exists()
returns true if path
is a directory, mind.
Login to write a write a comment.