X-Git-Url: https://git.phdru.name/?p=bookmarks_db.git;a=blobdiff_plain;f=Storage%2Fbkmk_stflad.py;h=a60b30af872b215e62f7e80d151cdd672589ff66;hp=63ee0400b5b55f9d47339abef630859ecbbc9853;hb=ff958ee854d80253b271de04945a57fafc0363c4;hpb=d594d5acd1c256017e0343ba7910a127a319e2bd diff --git a/Storage/bkmk_stflad.py b/Storage/bkmk_stflad.py index 63ee040..a60b30a 100644 --- a/Storage/bkmk_stflad.py +++ b/Storage/bkmk_stflad.py @@ -34,27 +34,27 @@ class storage_flad(Walker): def start_folder(self, f, level): self.outfile.write(""" - Level: %d - Folder: %s - AddDate: %s - Comment: %s - LastModified: %s - """ % (level, f.name, f.add_date, f.comment, f.last_modified or '')) +Level: %d +Folder: %s +AddDate: %s +Comment: %s +LastModified: %s +""" % (level, f.name, f.add_date, f.comment, f.last_modified or '')) def bookmark(self, b, level): self.outfile.write(""" - Level: %d - Title: %s - URL: %s - AddDate: %s - LastVisit: %s - LastModified: %s - Keyword: %s - Comment: %s - IconURI: %s - Icon: %s - Charset: %s - """ % (level+1, b.name, b.href, b.add_date, b.last_visit, b.last_modified, +Level: %d +Title: %s +URL: %s +AddDate: %s +LastVisit: %s +LastModified: %s +Keyword: %s +Comment: %s +IconURI: %s +Icon: %s +Charset: %s +""" % (level+1, b.name, b.href, b.add_date, b.last_visit, b.last_modified, b.keyword, b.comment.replace('\n', "\\n"), b.icon_href or '', b.icon or '', b.charset or ''))