]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/book_snippets.py
Fix issue #1815: lilypond-book fails on Windows
[lilypond.git] / python / book_snippets.py
index cbf09a7a28f59bcf47cb8103883c2d511bedc510..f128ac16fff8801f4c6f2774b37e160e543110d5 100644 (file)
@@ -580,7 +580,7 @@ left-margin-default right-margin-default)"
 
     def basename (self):
         cs = self.get_checksum ()
-        name = '%s/lily-%s' % (cs[:2], cs[2:])
+        name = os.path.join (cs[:2], 'lily-%s' % cs[2:])
         return name
 
     final_basename = basename