sys.exit(1)
if log_filename:
- log_file = open(log_filename, 'wt')
+ log_file = open(log_filename, 'wt', encoding='utf-8')
from storage import storage
storage = storage()
sys.exit(1)
if log_filename:
- log_file = open(log_filename, 'wt')
+ log_file = open(log_filename, 'wt', encoding='utf-8')
from storage import storage
storage = storage()
unquoted_title = unquote_title(quote_title(object.real_title))
unquoted_name = unquote_title(object.name)
if unquoted_name != unquoted_title:
- report_title(object.href, unquoted_name unquoted_title)
+ report_title(object.href, unquoted_name, unquoted_title)
else:
report_title(object.href, object.name, None)