mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
When installing plugins, if an error occurs while installing the plugin, the plugin was not automatically un-installed due to a typo.
This commit is contained in:
parent
7bf63b3290
commit
5864635e4a
@ -748,8 +748,8 @@ class PluginUpdaterDialog(SizePersistedDialog):
|
||||
det_msg=traceback.format_exc(), show=True)
|
||||
if DEBUG:
|
||||
prints('Due to error now uninstalling plugin: %s'%display_plugin.name)
|
||||
remove_plugin(display_plugin.name)
|
||||
display_plugin.plugin = None
|
||||
remove_plugin(display_plugin.name)
|
||||
display_plugin.plugin = None
|
||||
|
||||
display_plugin.uninstall_plugins = []
|
||||
if self.proxy_model.filter_criteria in [FILTER_NOT_INSTALLED, FILTER_UPDATE_AVAILABLE]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user