init: handle AttributeError in addition to ImportError
If a module doesn't exist, it yields an ImportError, if an attribtue doesn't exist on a module, it yields an AttributeError
Please register or sign in to comment
If a module doesn't exist, it yields an ImportError, if an attribtue doesn't exist on a module, it yields an AttributeError