Update cmte.py

Correct bug (incorrect indent and import error)