resolve paths to absolute ones

This commit is contained in:
Maximilian Keßler 2021-10-22 10:12:09 +02:00
parent b5160f1816
commit a10709dd3b

View file

@ -93,8 +93,11 @@ def main():
action='store_true', action='store_true',
dest='overwrite_existing_files' dest='overwrite_existing_files'
) )
args = parser.parse_args() args = vars(parser.parse_args())
build(**vars(args)) for arg in args.keys():
if type(args[arg]) == pathlib.PosixPath:
args[arg] = args[arg].resolve()
build(**args)
if __name__ == "__main__": if __name__ == "__main__":