Open letorbi opened 5 years ago
Pyinotify throws an exception on Synology DiskStation systems, because ctypes.util.find_library() throws a RuntimeError instead of the expected OSError or IOError.
ctypes.util.find_library()
RuntimeError
OSError
IOError
This PR fixes this by adding RuntimeError to the list of expected exception types.
Pyinotify throws an exception on Synology DiskStation systems, because
ctypes.util.find_library()
throws aRuntimeError
instead of the expectedOSError
orIOError
.This PR fixes this by adding
RuntimeError
to the list of expected exception types.