• R/O
  • HTTP
  • SSH
  • HTTPS

libre10: Commit

libre10 git


Commit MetaInfo

Revision3e22b048f66ee4d67737f36e277acb6e991aeb85 (tree)
Zeit2013-11-03 18:46:23
Autorgn64_jp <gn64@rec1...>
Commitergn64_jp

Log Message

fix cache folder.

Ändern Zusammenfassung

Diff

--- a/index/pdf2xml.py
+++ b/index/pdf2xml.py
@@ -120,7 +120,7 @@ def PDF2TEXT(pdfpath,dstpath,idnum):
120120 rd.update(title_group.encode('utf-8'))
121121 rdl=rd.hexdigest()
122122 for i in xrange(1,pagenum+1):
123- tmpdstpath="\""+cacheFolder+"page-"+str(i)+dstpath+"\""
123+ tmpdstpath="\""+cacheFolder+"/page-"+str(i)+dstpath+"\""
124124 cmd=u"pdftotext -eol unix -enc UTF-8 -f "+str(i)+u" -l "+str(i)+" \""+pdfpath+u"\" "+tmpdstpath
125125 p=subprocess.Popen(cmd.encode("utf-8"),shell=True)
126126 p.wait()
Show on old repository browser