Hi,
I am a python novice and I wasn't able to figure out a way to access the current working directory inside the recipe. I want to write some log files into the folder.
self.output_dir and
os.getcwd() are set to the temporary folder.

How do I get the CWD of the folder where the recipe is and the output file is generated by
ebook-convert a.recipe ebook.mobi?