Don't add plugin to manager twice (#1064)

* Prevent Python plugins from being added to PluginManager twice
This commit is contained in:
Jeff Glass
2022-12-21 12:10:01 -06:00
committed by GitHub
parent c0f36aa047
commit 059dbc88c9
2 changed files with 1 additions and 2 deletions

View File

@@ -497,7 +497,6 @@ class Plugin:
def init(self, app):
self.app = app
self.app.plugins.addPythonPlugin(create_proxy(self))
def register_custom_element(self, tag):
# TODO: Ideally would be better to use the logger.