X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=check_redirects.py;h=c9161d9016a7d1318e823e9cac4b8322aa47e52e;hb=ac86c51f608426450dfecc62163a52c9879d49ca;hp=1f5c2b01137a53b05b725e204995a1996656bb41;hpb=1f50f0961e4437d8306f541bce4fee0fa37301d7;p=bookmarks_db.git diff --git a/check_redirects.py b/check_redirects.py index 1f5c2b0..c9161d9 100755 --- a/check_redirects.py +++ b/check_redirects.py @@ -48,7 +48,7 @@ def run(): 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()