Update base.py

changed errror to error