fixed output path of authors.css

This commit is contained in:
Michael Murtaugh 2015-09-17 18:30:56 +02:00
parent 298cc2a8fe
commit 5d798275e6
2 changed files with 4 additions and 2 deletions

View File

@ -377,7 +377,9 @@ def main(args):
# Write the unified CSS with authors
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()):
css.write(selector+' '+rule+'\n')

View File

@ -26,5 +26,5 @@ def main (args):
print json.dumps(results)
else:
for r in results:
print r
print r.encode("utf-8")