typo fix
removed not needed line: idir = os.getenv('HOME')