PEP fix to src/render.py