X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=Writers%2Fbkmk_whtml.py;h=7e652d2e7dc5f84f4300f9aaf3298a69667454ae;hb=6e90710dba7238b440aa7c5bb5e465de0fc259ed;hp=775d336fea0c4060a35090c307f8be12cfe20311;hpb=d90638aca4f4313717261478e1d8349ccb97afc5;p=bookmarks_db.git
diff --git a/Writers/bkmk_whtml.py b/Writers/bkmk_whtml.py
index 775d336..7e652d2 100644
--- a/Writers/bkmk_whtml.py
+++ b/Writers/bkmk_whtml.py
@@ -6,16 +6,12 @@
import os
-MZFORMAT = os.environ.has_key("BKMK_MZFORMAT")
-if MZFORMAT:
- NSFORMAT = False
-else:
- NSFORMAT = os.environ.has_key("BKMK_NSFORMAT")
+BKMK_FORMAT = os.environ.has_key("BKMK_FORMAT")
def dump_comment(comment):
comment = comment.replace("
\n", "\n")
- if NSFORMAT:
+ if BKMK_FORMAT == "NETSCAPE":
comment = comment.replace("\n", "
\n")
return comment
@@ -39,7 +35,7 @@ class writer_html(Writer):
def start_folder(self, f, level):
self.outfile.write(ind_s*level + '