[ocrfeeder/introspection] Replace print by debug for the Unpaper command
- From: Joaquim Manuel Pereira Rocha <jrocha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ocrfeeder/introspection] Replace print by debug for the Unpaper command
- Date: Mon, 7 Jul 2014 21:14:04 +0000 (UTC)
commit 2fe92dd4413431edaebd971cb56a7a7e489a6c81
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]