custom book cover
Hi Kovid
I have a few lines in the recipe file to have a custom book cover as below:
def get_cover_url(self):
return 'file:///home/username/.config/calibre/custom_recipes/cover.png'
Is there a better way to code this:
- is there any global symbol to refer to the "recipe" folder.
As I use this in multiple computers, between XP and linux, I have to change each time.
Thanks,
|