]> git.phdru.name Git - bookmarks_db.git/blobdiff - Robots/bkmk_rsimple.py
Updated TODO.
[bookmarks_db.git] / Robots / bkmk_rsimple.py
index e2f4dadc1358ecee16a37be3709ca007d75d4a1f..0d6c04409756be02fa161257b71729b68c2bd740 100644 (file)
@@ -180,7 +180,7 @@ class robot_simple(Robot):
    def finish_check_url(self, bookmark):
       # Calculate these attributes even in case of an error
       if os.path.exists(self.tempfname):
-         size = str(os.stat(self.tempfname).st_size)
+         size = str(os.path.getsize(self.tempfname))
          if size[-1] == 'L':
             size = size[:-1]
          bookmark.size = size