Browse Source

fixed output path of authors.css

add-quote-import
Michael Murtaugh 9 years ago
parent
commit
5d798275e6
  1. 4
      etherdump/commands/dump.py
  2. 2
      etherdump/commands/list.py

4
etherdump/commands/dump.py

@ -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')

2
etherdump/commands/list.py

@ -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…
Cancel
Save