diff --git a/etherdump/commands/dump.py b/etherdump/commands/dump.py index 1949b92..bd1815e 100644 --- a/etherdump/commands/dump.py +++ b/etherdump/commands/dump.py @@ -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') diff --git a/etherdump/commands/list.py b/etherdump/commands/list.py index fb5c433..2c359ce 100755 --- a/etherdump/commands/list.py +++ b/etherdump/commands/list.py @@ -26,5 +26,5 @@ def main (args): print json.dumps(results) else: for r in results: - print r + print r.encode("utf-8")