Make call of os.getppid() conditional: it is not available on Windows.
1 file changed