mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Output list of initialized third party plugins in the basic debug info
This commit is contained in:
parent
4ff358675c
commit
ab6885588b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user