]> git.phdru.name Git - bookmarks_db.git/blobdiff - check_title.py
Title (and refresh) can be None.
[bookmarks_db.git] / check_title.py
index 2a4f522d500b074d962b7d268321cc4fd3c75e65..23caeb898a6fe603ce47cd49c0ae84be07b5a60b 100755 (executable)
@@ -53,7 +53,7 @@ def run():
          if hasattr(object, "moved") or hasattr(object, "error"):
             continue
 
-         if hasattr(object, "real_title"):
+         if hasattr(object, "real_title") and (object.real_title is not None):
             unquoted_title = unquote_title(quote_title(object.real_title))
             unquoted_name = unquote_title(object.name)
             if unquoted_name <> unquoted_title: