fix deprecation warning for newer celery
Merge pull request #14 from peterbe/fix-deprecation-warning

fix deprecation warning for newer celery