view potd/tasks.py @ 647:2a4e2e86c65e

Fix last commit for Python 2.5. :(
author Brian Neal <bgneal@gmail.com>
date Sat, 23 Mar 2013 13:21:14 -0500
parents ee87ea74d46b
children aeafbf3ecebf
line wrap: on
line source
"""
Celery tasks for the POTD app.

"""
from celery.task import task

import potd.tools


@task
def pick_potd():
    potd.tools.pick_potd()