View Single Post
Old 10-01-2015, 04:46 AM   #2
esvorontsov
Member
esvorontsov began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Sep 2015
Device: sdfvsdvsdvsdvsd
found this solution

api = self.gui.current_db.new_api
fmt = api.formats(book_id, verify_formats=False)[0]
dest = r"d:\books\bookname." + fmt
api.copy_format_to(book_id, fmt, dest, use_hardlink=False)
esvorontsov is offline   Reply With Quote