Update appdailysales.py

Compatibility with Python versions < 2.7