utf-8
This commit is contained in:
parent
b669a2104b
commit
151a45b5a4
@ -340,14 +340,11 @@ def main (args):
|
|||||||
# strip output dir....
|
# strip output dir....
|
||||||
relpath = Path(*vpath.parts[1:])
|
relpath = Path(*vpath.parts[1:])
|
||||||
|
|
||||||
v["url"] = os.path.join(indexurl, relpath)
|
v["url"] = os.path.join(indexurl, relpath.as_posix())
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if args.output:
|
if args.output:
|
||||||
with open(args.output, "w") as f:
|
with open(args.output, "w", encoding="utf-8") as f:
|
||||||
print (template.render(vars(args)), file=f)
|
print (template.render(vars(args)), file=f)
|
||||||
else:
|
else:
|
||||||
print (template.render(vars(args)))
|
print (template.render(vars(args)))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user