]> git.phdru.name Git - bookmarks_db.git/blobdiff - check_url.py
Robots no longer have one global temporary file - there are at least two
[bookmarks_db.git] / check_url.py
index 123f6a92182b89c9d66f7647024cef72d52a5f34..b0a6869a5e5d601b5a2f34728fde97fcff58da1b 100755 (executable)
@@ -20,7 +20,6 @@ httplib.HTTP = MyHTTP
 
 from bkmk_objects import Bookmark
 from Writers.bkmk_wflad import strftime
-tempfname = "check_url.tmp"
 
 
 def run():
@@ -34,7 +33,7 @@ def run():
    log = makelog("check.log")
 
    from robots import robot
-   robot = robot(tempfname, log)
+   robot = robot(log)
 
    for url in sys.argv[1:]:
        bookmark = Bookmark(href=url, add_date=None)