mirror of https://github.com/dirtbags/moth.git
Merge pull request #52 from 3ch01c/normalize_paths
normalize path parameters for os agnoticism and just because it's the…
This commit is contained in:
commit
2925870c3d
|
@ -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