wrapped things in if __name__ == '__main__'.
This commit is contained in:
parent
74796c804e
commit
7ad4eaa71b
|
@ -99,6 +99,7 @@ def convert_file(inDir, outDir, inFile):
|
||||||
logging.error(f'stdErr was {e.stderr}')
|
logging.error(f'stdErr was {e.stderr}')
|
||||||
logging.error(f'stdOut was {e.stdout}')
|
logging.error(f'stdOut was {e.stdout}')
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
inFile, outFile, compress=parse_arguments()
|
inFile, outFile, compress=parse_arguments()
|
||||||
os.chdir(inFile)
|
os.chdir(inFile)
|
||||||
tmpDir=TmpDir('./')
|
tmpDir=TmpDir('./')
|
||||||
|
|
Loading…
Reference in a new issue