You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2020. It is now read-only.
def map_pluggable_classes(config):
pluggable_classes = dict()
for m in config.get("modules"):
try:
exec("import %s" % m)
classes = inspect.getmembers(sys.modules[m], inspect.isclass)
for c in classes:
if not issubclass(c[1], Pluggable):
continue
pluggable_classes[c[0]] = c[1]
except ImportError:
warnings.warn("'%s' does not appear to be a valid module. Skipping!" % m)
If there is error occurs during a plugin import, they are not shown. Which makes it harder to look for a solution. It would be cool if it can inform user what is the problem with import. Thanks 👍
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
base.py has
If there is error occurs during a plugin import, they are not shown. Which makes it harder to look for a solution. It would be cool if it can inform user what is the problem with import. Thanks 👍
The text was updated successfully, but these errors were encountered: