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: