Update settings.py

Adjust debug print alert for Python 3 compatibility.