Fixed missing } in base.py