modified getLeague.py. changed the stored procedure used.