X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=sort_db.py;h=4dd117e51219cbf818d3c9ce4db004b676e07cf2;hb=fc3e4ef0d8f12520e40aaceb4fa405e0c6985133;hp=bcd3a8ed6aa50387ec3766ed75dc0e7af7c62c5b;hpb=865ee60d6e5813866423b4481ff5ed3411a1a7fe;p=bookmarks_db.git diff --git a/sort_db.py b/sort_db.py index bcd3a8e..4dd117e 100755 --- a/sort_db.py +++ b/sort_db.py @@ -99,7 +99,7 @@ def run(): sys.stdout.write("Writing %s: " % output_filename) sys.stdout.flush() - outfile = open(output_filename, 'w', encoding='utf-8') + outfile = open(output_filename, 'wt', encoding='utf-8') writer = writer(outfile) writer.root_folder(root_folder) walk_linear(linear, writer)