view potd/tasks.py @ 1120:36fa9e9e010b

Forgot to add banner for convention.
author Brian Neal <bgneal@gmail.com>
date Fri, 29 Jul 2016 19:04:51 -0500
parents aeafbf3ecebf
children
line wrap: on
line source
"""
Celery tasks for the POTD app.

"""
from __future__ import absolute_import

from celery import shared_task

import potd.tools


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