mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
PML input: Put images in proper location.
This commit is contained in:
parent
db159de066
commit
b2e749e00d
@ -69,7 +69,7 @@ class PMLInput(InputFormatPlugin):
|
|||||||
imgs = glob.glob(os.path.join(tdir, '*.png'))
|
imgs = glob.glob(os.path.join(tdir, '*.png'))
|
||||||
for img in imgs:
|
for img in imgs:
|
||||||
pimg_name = os.path.basename(img)
|
pimg_name = os.path.basename(img)
|
||||||
pimg_path = os.path.join(os.getcwd(), pimg_name)
|
pimg_path = os.path.join(os.getcwd(), 'images', pimg_name)
|
||||||
|
|
||||||
images.append(pimg_name)
|
images.append(pimg_name)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user