Made SPotS runnable under Python 3.4.