Mercurial > wikked
diff 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 |
line wrap: on
line diff
--- a/backend.py Sun Jan 12 00:22:59 2014 -0800 +++ b/backend.py Sun Jan 12 00:24:24 2014 -0800 @@ -1,15 +1,4 @@ -import logging -from celery import Celery - - -logging.basicConfig(level=logging.DEBUG) - - -app = Celery( - 'wikked', - broker='amqp://', - backend='amqp://', - include=['wikked.tasks']) +from wikked.tasks import app if __name__ == '__main__': app.start()