Browse Source

Correction de bug : la création d'index compilait plus de fichiers que nécessaire

remotes/origin/next
Louis 12 years ago
parent
commit
ce9001048f
  1. 3
      songbook.py

3
songbook.py

@ -8,6 +8,7 @@ import locale
import platform
import shutil
import json
import glob
import re
from subprocess import call
from tools import recursiveFind
@ -320,7 +321,7 @@ def main():
call(["pdflatex", texFile])
# Make index
sxdFiles = recursiveFind(".", basename + "*.sxd")
sxdFiles = glob.glob("%s_*.sxd" % basename)
print sxdFiles
for sxdFile in sxdFiles:
print "processing " + sxdFile

Loading…
Cancel
Save