From ab6885588b58e3265a75841b46c3f2daf53b97e9 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 6 Jul 2014 09:25:38 +0530 Subject: [PATCH] Output list of initialized third party plugins in the basic debug info --- src/calibre/debug.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/calibre/debug.py b/src/calibre/debug.py index 403e9a20e3..2f8b604511 100644 --- a/src/calibre/debug.py +++ b/src/calibre/debug.py @@ -174,6 +174,10 @@ def print_basic_debug_info(out=None): out('Linux:', platform.linux_distribution()) except: pass + from calibre.customize.ui import has_external_plugins, initialized_plugins + if has_external_plugins(): + names = (p.name for p in initialized_plugins() if getattr(p, 'plugin_path', None) is not None) + out('Successfully initialized third party plugins:', ' && '.join(names)) def run_debug_gui(logpath): import time