]> git.phdru.name Git - bookmarks_db.git/blobdiff - check_urls.py
Build(Makefile): Update the list of example shell scripts
[bookmarks_db.git] / check_urls.py
index e60cefe9edf394ac7f213f19cd05c10b18137da9..a8f634a0ef8e53623b2b1ce95a11140eeec7accf 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 """Robot interface - check URLs from bookmarks database
 
 This file is a part of Bookmarks database and Internet robot.
@@ -118,7 +118,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 (