wrapped things in if __name__ == '__main__'.

This commit is contained in:
gabe 2021-09-05 11:02:51 -05:00
parent 74796c804e
commit 7ad4eaa71b

View file

@ -99,6 +99,7 @@ def convert_file(inDir, outDir, inFile):
logging.error(f'stdErr was {e.stderr}')
logging.error(f'stdOut was {e.stdout}')
if __name__ == '__main__':
inFile, outFile, compress=parse_arguments()
os.chdir(inFile)
tmpDir=TmpDir('./')