Fixing a formatting error in engine.py