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
|