Compare commits
No commits in common. "5ff906086b1c2680545377988eed24a736734c4f" and "8e18a11fc8f09aa707f74894ea44865c3be8ddf8" have entirely different histories.
5ff906086b
...
8e18a11fc8
|
@ -233,8 +233,7 @@ class Plugin:
|
|||
Returns:
|
||||
Dict containing version and permissions of the plugin
|
||||
"""
|
||||
from flaschengeist.utils.plugin import plugin_version
|
||||
return {"version": plugin_version(self), "permissions": self.permissions}
|
||||
return {"version": self.version, "permissions": self.permissions}
|
||||
|
||||
|
||||
class AuthPlugin(Plugin):
|
||||
|
|
|
@ -25,9 +25,6 @@ def get_plugins() -> list[type[Plugin]]:
|
|||
plugins.append(plugin_class)
|
||||
except TypeError:
|
||||
logger.error(f"Invalid entry point for plugin {entry_point.name} found.")
|
||||
except pkg_resources.DistributionNotFound:
|
||||
logger.warn(f"Requirements not fulfilled for {entry_point.name}")
|
||||
logger.debug("DistributionNotFound", exc_info=True)
|
||||
return plugins
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue