Update base.py

removed whitespaces in line 27