Fixed a bug in the python procedure affecting empty sites; just a silly error in print