removed whitespace-only lines.
This commit is contained in:
parent
ab41e413e4
commit
ded779bfb0
|
@ -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}')
|
||||||
|
|
Loading…
Reference in a new issue