Update appdailysales.py

Compatibility with Python versions < 2.7
Merge pull request #5 from alexkrasov/master

Made the script compatible with older Pythons, usefull for those stuck with older systems like RHEL5