I've added a comment to show traceback reason to catch AttributeError - will initiate new pull request