mirror of https://github.com/dirtbags/moth.git
normalize path parameters for os agnoticism and just because it's the right thing to do
This commit is contained in:
parent
c6df69f08e
commit
04a4950321
|
@ -109,5 +109,7 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
logging.basicConfig(level=logging.DEBUG)
|
logging.basicConfig(level=logging.DEBUG)
|
||||||
|
|
||||||
|
outdir = os.path.abspath(args.outdir)
|
||||||
for categorydir in args.categorydirs:
|
for categorydir in args.categorydirs:
|
||||||
build_category(categorydir, args.outdir)
|
categorydir = os.path.abspath(categorydir)
|
||||||
|
build_category(categorydir, outdir)
|
||||||
|
|
Loading…
Reference in New Issue