[ocrfeeder] Replace print by debug for the Unpaper command



commit 684bda8cf38dac73adbe8062582f6fc167421814
Author: Joaquim Rocha <me joaquimrocha com>
Date:   Mon Jul 7 22:22:10 2014 +0200

    Replace print by debug for the Unpaper command

 src/ocrfeeder/util/lib.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ocrfeeder/util/lib.py b/src/ocrfeeder/util/lib.py
index 1e7914e..4a088bf 100644
--- a/src/ocrfeeder/util/lib.py
+++ b/src/ocrfeeder/util/lib.py
@@ -144,7 +144,7 @@ def unpaperImage(configuration_manager, image_path):
     image_path.save(unpapered_in, format = 'PPM')
     command = getUnpaperCommand(configuration_manager)
     command += ' %s %s' % (unpapered_in, unpapered_name)
-    print command
+    debug(command)
     try:
         os.system(command)
     except Exception, exception:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]