X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=check_urls.py;h=8eba42c970ba27e2a7928d091775e27f882643d7;hb=c2ea4e82718b903aa123dd77490f36657383b0ca;hp=000141ff0f65929fb525879e9c2f6ffcff46745d;hpb=4ced9933b914c5569cba1c29c9ae21c3de123acc;p=bookmarks_db.git diff --git a/check_urls.py b/check_urls.py index 000141f..8eba42c 100755 --- a/check_urls.py +++ b/check_urls.py @@ -107,8 +107,8 @@ def run(): if object.isBookmark: href = object.href - if (href.startswith('place:') # Firefox SmartBookmarks - or '%s' in href): # Bookmark with keyword + if (href.startswith('place:') # Firefox SmartBookmarks + or '%s' in href): # Bookmark with keyword log("Skipped %s" % href) continue @@ -138,7 +138,7 @@ def run(): try: size = size + int(object.size) except (AttributeError, TypeError, ValueError): - pass # Some object does not have a size :( + pass # Some object does not have a size :( else: log("Interrupted by user (^C)") break