mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
update test.py
This commit is contained in:
parent
8d9281f465
commit
4f6bb43025
@ -12,7 +12,7 @@ for f in os.listdir(DIR):
|
||||
if not f.lower().endswith('.pdf'):
|
||||
continue
|
||||
print f
|
||||
os.system('pdf2htmlEX -l 3 --dest-dir html %s/%s' % (DIR,f))
|
||||
os.system('pdf2htmlEX -l 3 --dest-dir html "%s/%s"' % (DIR,f))
|
||||
ff = f[:-3]+'html'
|
||||
outf.write('<a href="html/%s" target="pdf">%s</a><br/>' % (ff,ff))
|
||||
outf.flush();
|
||||
|
Loading…
Reference in New Issue
Block a user