Logo Search packages:      
Sourcecode: calibre version File versions  Download package

def calibre.customize.Plugin.initialize (   self) [inherited]
Called once when calibre plugins are initialized. Plugins are re-initialized
every time a new plugin is added.

Perform any plugin specific initialization here, such as extracting
resources from the plugin zip file. The path to the zip file is
available as ``self.plugin_path``.

Note that ``self.site_customization`` is **not** available at this point.

Reimplemented in calibre.customize.CatalogPlugin, and calibre.devices.kobo.driver.KOBO.

Definition at line 70 of file __init__.py.

00070 
    def initialize(self):
        '''
        Called once when calibre plugins are initialized. Plugins are re-initialized
        every time a new plugin is added.

        Perform any plugin specific initialization here, such as extracting
        resources from the plugin zip file. The path to the zip file is
        available as ``self.plugin_path``.

        Note that ``self.site_customization`` is **not** available at this point.
        '''
        pass


Generated by  Doxygen 1.6.0   Back to index