Since this is not PyScenario related this thread is not the place to get into any specifics. I suggest you take this up in the programming board instead.
But you edited the Sphinx mod code - making wonders cheaper - into something that will make settlers (units) cheaper? You realize that you're using getBuildingCostMod for this? Try getUnitCostMod instead.
But you edited the Sphinx mod code - making wonders cheaper - into something that will make settlers (units) cheaper? You realize that you're using getBuildingCostMod for this? Try getUnitCostMod instead.