normalize path parameters for os agnoticism and just because it's the right thing to do

This commit is contained in:
Jack Miner 2018-10-16 10:20:36 -07:00
parent c6df69f08e
commit 04a4950321
1 changed files with 3 additions and 1 deletions

View File

@ -109,5 +109,7 @@ if __name__ == '__main__':
logging.basicConfig(level=logging.DEBUG)
outdir = os.path.abspath(args.outdir)
for categorydir in args.categorydirs:
build_category(categorydir, args.outdir)
categorydir = os.path.abspath(categorydir)
build_category(categorydir, outdir)