Removed os.devnull exception
Removed os.devnull exception