We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e981f3d commit 6ff8debCopy full SHA for 6ff8deb
about_code_tool/genabout.py
@@ -611,6 +611,11 @@ def format_output(input_list):
611
value = about_dict_list[item].replace('\n', '\n ')
612
if (value or item in about.MANDATORY_FIELDS) and not item\
613
in about.ERROR_WARN_FIELDS and not item == 'about_resource':
614
+ # It will cause error if value has different coding
615
+ try:
616
+ value = unicode(value, errors='ignore')
617
+ except:
618
+ pass
619
context += item + ': ' + value + '\n'
620
621
component.append(about_file_location)
0 commit comments