From 2bfa30a59e93a8f988a48e2047b397fe68dec937 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Sun, 22 Jan 2012 05:44:08 -0400 Subject: [PATCH] Fix indentation from tab to spaces --- apps/ocr/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/ocr/__init__.py b/apps/ocr/__init__.py index f228843100..ba0892273b 100644 --- a/apps/ocr/__init__.py +++ b/apps/ocr/__init__.py @@ -77,10 +77,10 @@ def document_post_save(sender, instance, **kwargs): logger.debug('instance: %s' % instance) if kwargs.get('created', False): if AUTOMATIC_OCR: - try: - DocumentQueue.objects.queue_document(instance.document) - except AlreadyQueued: - pass + try: + DocumentQueue.objects.queue_document(instance.document) + except AlreadyQueued: + pass # Disabled because it appears Django execute signals using the same