comparison backend.py @ 164:a4a64d6b66cb

Fixed various bugs: - Encode in UTF-8 before doing URL-quoting. - Don't depend on the Celery app if using synchronous updates. - The config for synchronous updates is now in the `wikirc`. - Ability to define ignored directories/files in the `wikirc`.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 12 Jan 2014 00:24:24 -0800
parents 87606db8c641
children
comparison
equal deleted inserted replaced
163:cba3a31595c7 164:a4a64d6b66cb
1 import logging 1 from wikked.tasks import app
2 from celery import Celery
3
4
5 logging.basicConfig(level=logging.DEBUG)
6
7
8 app = Celery(
9 'wikked',
10 broker='amqp://',
11 backend='amqp://',
12 include=['wikked.tasks'])
13 2
14 if __name__ == '__main__': 3 if __name__ == '__main__':
15 app.start() 4 app.start()
16 5