]> git.donarmstrong.com Git - lilypond.git/blobdiff - buildscripts/mutopia-index.py
(read_dict): remove "example file:"
[lilypond.git] / buildscripts / mutopia-index.py
index 345a2f4c94f8439c08a3953469a5000a8eafde9d..ca23fe6452fb6b521f61b0e8669bd6e9ec835d4a 100644 (file)
@@ -146,9 +146,9 @@ def gen_list(inputs, filename):
                desc = read_dict('description', '')
                list.write('<hr>\n')
                list.write('<h1>%s</h1>\n' % head);
-               if composer <> '':
+               if composer:
                        list.write('<h2>%s</h2>\n' % composer)
-               if desc <> '':
+               if desc:
                        list.write('%s<p>' % desc)
                list.write ('<ul>\n')
                def list_item(filename, desc, type, l = list):