Thread
:
Can't update cover if file cover.jpg is already in the directory ?
View Single Post
06-06-2010, 10:17 PM
#
8
kovidgoyal
creator of calibre
Posts: 43,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
strange. You can work around it by simply putting in
if os.path.exists(path): os.remove(path)
in that function.
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS