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

Loading…
Cancel
Save