mirror of https://github.com/celery/kombu.git
Fixes typo in simple_task_queue example
This commit is contained in:
parent
557f0da06d
commit
7b5551f179
|
@ -18,6 +18,7 @@ def send_as_task(connection, fun, args=(), kwargs={}, priority='mid'):
|
|||
maybe_declare(task_exchange, producer.channel)
|
||||
producer.publish(payload, serializer='pickle',
|
||||
compression='bzip2',
|
||||
exchange=task_exchange,
|
||||
routing_key=routing_key)
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Reference in New Issue