Updated tuning.py so it works with Python >=3.2
#54
+1
−1
tuning.py so it works with Python >=3.2
#54