View Single Post
Old 12-11-2010, 01:27 PM   #1
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 8,313
Karma: 36123946
Join Date: Jan 2010
Device: Kindle Fire HD, Kindle 2
Another plugin dev question

Is there any way (from within an on_import plugin) to actually 'cancel' the import of an ebook? I know I can raise an error (or return 'None'), but that just means that the original ebook will still be imported unmolested.

I'm not sure if it's even possible (or if I'm missing the obvious), but I wouldn't want it to completely abort a multiple ebook import... but rather, have the ability to say; "this particular ebook doesn't meet my requirements and should be completely skipped."

Possible?
DiapDealer is offline   Reply With Quote