From 5707063b08099bcedf4032b3046daf1326f1f5ba Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 18 Dec 2014 07:57:58 +0530 Subject: [PATCH] ... --- src/calibre/customize/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/calibre/customize/__init__.py b/src/calibre/customize/__init__.py index b4cc2a995b..91623ea94e 100644 --- a/src/calibre/customize/__init__.py +++ b/src/calibre/customize/__init__.py @@ -84,8 +84,10 @@ class Plugin(object): # {{{ def initialize(self): ''' - Called once when calibre plugins are initialized. Plugins are re-initialized - every time a new plugin is added. + Called once when calibre plugins are initialized. Plugins are + re-initialized every time a new plugin is added. Also note that if the + plugin is run in a worker process, such as for adding books, then the + plugin will be initialized for every new worker process. Perform any plugin specific initialization here, such as extracting resources from the plugin zip file. The path to the zip file is