View Single Post
Old 11-26-2011, 12:44 PM   #1
dinya
Member
dinya began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Aug 2011
Device: none
Set all available file types for plugin

Hello all.

I'm writing plugin (FileTypePlugin, on_import=True), which should set values automatically on book adding. It should proccess all file formats.

So, is it only way to process all formats add them in file_types set? Like

file_types = set(['pdf', 'djvu', ...])

Is it possible process all formats without listing them all?

Thanks in advance, Denis
dinya is offline   Reply With Quote