]> git.phdru.name Git - bookmarks_db.git/blobdiff - Robots/bkmk_rsimple_tos.py
Do not encode non-encodeable entities.
[bookmarks_db.git] / Robots / bkmk_rsimple_tos.py
index cecb515bfa87e7ff0a034bdee8451619802a0672..4f8588a3a215c44b02a310b1bcd13f419412cb42 100644 (file)
@@ -1,7 +1,7 @@
 """
    Simple robot with timeoutsocket
 
-   Written by BroytMann. Copyright (C) 2000-2003 PhiloSoft Design
+   Written by BroytMann. Copyright (C) 2000-2007 PhiloSoft Design
 """
 
 
@@ -11,9 +11,9 @@ timeoutsocket.setDefaultSocketTimeout(900)
 from bkmk_rsimple import robot_simple, get_error
 
 class robot_simple_tos(robot_simple):
-   def check_url(self, bookmark, url_type, url_rest):
+   def check_url(self, bookmark):
       try:
-         return robot_simple.check_url(self, bookmark, url_type, url_rest)
+         return robot_simple.check_url(self, bookmark)
 
       except (socket.error, timeoutsocket.Timeout), msg:
          bookmark.error = get_error(msg)