Update EntityManager.py

Fixes 'TypeError: argument of type 'Entity' is not iterable'