def bookmark(self, b, level):
self.outfile.write(ind_s*(level+1) + '<DT><A HREF="%s" ADD_DATE="%s"' % (b.href, b.add_date))
if b.last_visit: self.outfile.write(' LAST_VISIT="%s"' % b.last_visit)
- self.outfile.write(' LAST_MODIFIED="%s"' % b.last_modified)
+ if b.last_modified:
+ self.outfile.write(' LAST_MODIFIED="%s"' % b.last_modified)
if BKMK_FORMAT == "MOZILLA":
if b.keyword: self.outfile.write(' SHORTCUTURL="%s"' % b.keyword)
if b.icon_href: self.outfile.write(' ICON_URI="%s"' % b.icon_href)