Update alt.py

change exception types from erroneous LookupError to AttributeError