From 93fa1c1f46d7496d9a19fca1f17c6764aff65985 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 20 Jul 2012 13:31:32 +0200 Subject: [PATCH] log on unknown document type --- themis/ocrloader/ocrloader.py | 1 + 1 file changed, 1 insertion(+) diff --git a/themis/ocrloader/ocrloader.py b/themis/ocrloader/ocrloader.py index 8835d0e..d0a04b5 100644 --- a/themis/ocrloader/ocrloader.py +++ b/themis/ocrloader/ocrloader.py @@ -128,6 +128,7 @@ class LoadFromOcr(BrowserView): kwargs = {'no_du_dossier': number, 'categorie': category} else: + logging.warning('unknown document type (%s, %s)' % (doctype, filename)) continue folder.invokeFactory(factory, id=ocr_id, title=ocr_title,