mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Integrate WayneD's PML input image fix.
This commit is contained in:
parent
30e5e8c23e
commit
f11d876a9d
@ -79,7 +79,7 @@ class PMLInput(InputFormatPlugin):
|
|||||||
pimg_name = os.path.basename(img)
|
pimg_name = os.path.basename(img)
|
||||||
pimg_path = os.path.join(os.getcwd(), 'images', pimg_name)
|
pimg_path = os.path.join(os.getcwd(), 'images', pimg_name)
|
||||||
|
|
||||||
images.append(pimg_name)
|
images.append('images/' + pimg_name)
|
||||||
|
|
||||||
shutil.move(img, pimg_path)
|
shutil.move(img, pimg_path)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user