Update base.py

removed blank lines from line 24