fixed output path of authors.css
This commit is contained in:
parent
298cc2a8fe
commit
5d798275e6
@ -377,7 +377,9 @@ def main(args):
|
|||||||
|
|
||||||
# Write the unified CSS with authors
|
# Write the unified CSS with authors
|
||||||
if args.authors_css:
|
if args.authors_css:
|
||||||
with open(args.authors_css, 'w') as css:
|
authors_css_path = os.path.join(args.path, args.authors_css)
|
||||||
|
print (authors_css_path, file=sys.stderr)
|
||||||
|
with open(authors_css_path, 'w') as css:
|
||||||
for selector, rule in sorted(authors_css_rules.items()):
|
for selector, rule in sorted(authors_css_rules.items()):
|
||||||
css.write(selector+' '+rule+'\n')
|
css.write(selector+' '+rule+'\n')
|
||||||
|
|
||||||
|
|||||||
@ -26,5 +26,5 @@ def main (args):
|
|||||||
print json.dumps(results)
|
print json.dumps(results)
|
||||||
else:
|
else:
|
||||||
for r in results:
|
for r in results:
|
||||||
print r
|
print r.encode("utf-8")
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user