[issue28859] os.path.ismount sometimes raises FileNotFoundError on Windows
Steve Dower
report at bugs.python.org
Tue Feb 18 18:05:18 EST 2020
Steve Dower <steve.dower at python.org> added the comment:
> I am going to think maybe it was the "os.path.ismount" command that is causing the issue. Does the file exist?
If the file does not exist, it is definitely not a mount point. So the function should return False instead of raising an error.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue28859>
_______________________________________
More information about the Python-bugs-list
mailing list