View Single Post
Old 09-07-2012, 09:49 PM   #1
cnfmsu
Member
cnfmsu began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jan 2012
Device: Nook
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,
cnfmsu is offline   Reply With Quote