View Single Post
Old 01-16-2024, 10:58 AM   #62
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,118
Karma: 1954138
Join Date: Aug 2015
Device: Kindle
Quote:
Originally Posted by nqk View Post
and the new path from {outputfile} is
Code:
OEBPS/Images\cover.webp
I keep getting burned by Windows OS. I used os.path.join() to join directory name and base name (as I automatically am used to do), and it uses the underlying OS path sep, which on Windows is backslash (cannot for the life of me figure out why they did this). Try the attached test version, hopefully it fixes your issue.

Last edited by capink; 01-17-2024 at 12:33 AM. Reason: remove attatchment
capink is offline   Reply With Quote