made default output file be in current directory.

fixes #6.
This commit is contained in:
gabe 2021-09-05 13:30:05 -05:00
parent 7ad4eaa71b
commit b080c53ed5

View file

@ -26,7 +26,8 @@ def parse_arguments():
#If outfile was not set, set it.
if args.output == None:
outFile=args.inputDir.with_name(args.inputDir.name+'_compiled').resolve()
baseName=args.inputDir.with_name(args.inputDir.name+'_compiled').name
outFile=Path(os.getcwd()).joinpath(baseName)
else:
outFile=args.output.resovle()