]> git.phdru.name Git - bookmarks_db.git/blobdiff - check_urls.py
Fix(Py3): Reconfigure logs to write in UTF-8
[bookmarks_db.git] / check_urls.py
index a8f634a0ef8e53623b2b1ce95a11140eeec7accf..a666ea03d2762ca87647c7b75960d2574f92f7d5 100755 (executable)
@@ -61,6 +61,7 @@ def run():
         log("check_urls started")
         if report_stats:
             print("   check_urls: normal start")
+    log.outfile.reconfigure(encoding='utf-8')
 
     from storage import storage
     storage = storage()