encoding fix

This commit is contained in:
Zhiwei Chen 2017-04-28 01:53:46 -04:00
parent ef0af20178
commit 1f76fd9473
2 changed files with 187 additions and 187 deletions

View File

@ -3246,7 +3246,7 @@ def main():
with open(filter_category) as f:
for line in f.readlines():
try:
line = line.strip().encode('utf8')
line = line.strip().encode('utf-8')
if line.startswith('#') or len(line) == 0:
continue;
elif line.startswith('^'):
@ -3259,7 +3259,7 @@ def main():
print("Excluding categories:",)
print(str(options.filter_category_exclude))
print("Including categories:")
#print(str(options.filter_category_include))
print(str(options.filter_category_include))
process_dump(input_file, args.templates, output_path, file_size,
args.compress, args.processes)

File diff suppressed because it is too large Load Diff