]> git.phdru.name Git - bookmarks_db.git/blobdiff - check_urls.py
Fix(Robots/bkmk_rrequests): Add forgotten spaces in log
[bookmarks_db.git] / check_urls.py
index 629fa86af2d01353af3f08b07463ff793eb937d1..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()
@@ -118,7 +119,7 @@ def run():
                 else:
                     continue
 
-            if checked.has_key(href):
+            if href in checked:
                 log("Already checked %s" % href)
                 old_object = root_folder.linear[checked[href]]
                 for attr_name in (