]> git.phdru.name Git - bookmarks_db.git/blobdiff - Robots/bkmk_rsimple_tos.py
Fixed a bug.
[bookmarks_db.git] / Robots / bkmk_rsimple_tos.py
index 6e032152e58d48169ece4c63925e0f890bc7dfcd..0be22b843f421c5bd58505ce42bea75c3df4f4b3 100644 (file)
@@ -1,7 +1,7 @@
 """
    Simple robot with socket's timeout
 
-   Written by Broytman. Copyright (C) 2000-2007 PhiloSoft Design
+   Written by Broytman. Copyright (C) 2000-2010 PhiloSoft Design
 """
 
 import socket
@@ -16,6 +16,7 @@ class robot_simple_tos(robot_simple):
          return robot_simple.check_url(self, bookmark)
       except socket.error, msg:
          bookmark.error = get_error(msg)
+         self.log(bookmark.error)
 
       self.finish_check_url(bookmark)
       return 1