removed whitespace-only lines.

This commit is contained in:
gabe 2022-01-26 15:24:09 -06:00
parent ab41e413e4
commit ded779bfb0

View file

@ -32,7 +32,7 @@ def parse_arguments():
compress=False compress=False
else: else:
compress=args.compress compress=args.compress
#If outfile was not set, set it. #If outfile was not set, set it.
if args.output == None: if args.output == None:
baseName=args.inputDir.with_name(args.inputDir.name+'_compiled').name baseName=args.inputDir.with_name(args.inputDir.name+'_compiled').name
@ -128,7 +128,7 @@ def convert_file(inDir: Path, outDir: Path, inFile: Path, stylesheet: Path):
#Destination dir. It takes the file from the subtree --source-dir and puts it in the equivilant location in the subtree --destination-dir. (talking about filesystem subtrees). #Destination dir. It takes the file from the subtree --source-dir and puts it in the equivilant location in the subtree --destination-dir. (talking about filesystem subtrees).
f'--destination-dir={outDir}', f'--destination-dir={outDir}',
inFile] inFile]
if stylesheet != None: if stylesheet != None:
arguments.insert(1, f'--attribute=copycss={stylesheet}') arguments.insert(1, f'--attribute=copycss={stylesheet}')
arguments.insert(1, f'--attribute=stylesheet={stylesheet.name}') arguments.insert(1, f'--attribute=stylesheet={stylesheet.name}')