def run():
from getopt import getopt
optlist, args = getopt(sys.argv[1:], "s")
def run():
from getopt import getopt
optlist, args = getopt(sys.argv[1:], "s")
- if hasattr(object, "moved") or hasattr(object, "error"):
+ if hasattr(object, "moved") or hasattr(object, "error") \
+ or object.href.startswith('place:'): # Firefox SmartBookmarks
unquoted_title = unquote_title(quote_title(object.real_title))
unquoted_name = unquote_title(object.name)
if unquoted_name <> unquoted_title:
unquoted_title = unquote_title(quote_title(object.real_title))
unquoted_name = unquote_title(object.name)
if unquoted_name <> unquoted_title: