mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
Do not print error messages during plugin initialization to stdout.
This non-fatal warning emits output during calibredb commands and breaks scripting.
This commit is contained in:
parent
2302cb6a96
commit
14aa61d246
@ -750,7 +750,7 @@ def initialize_plugins(perf=False):
|
||||
times[plugin.name] = time.time() - st
|
||||
_initialized_plugins.append(plugin)
|
||||
except:
|
||||
print('Failed to initialize plugin:', repr(zfp))
|
||||
print('Failed to initialize plugin:', repr(zfp), file=sys.stderr)
|
||||
if DEBUG:
|
||||
traceback.print_exc()
|
||||
# Prevent a custom plugin from overriding stdout/stderr as this breaks
|
||||
|
Loading…
x
Reference in New Issue
Block a user