[ocrfeeder] Find the unpaper executable path instead of using a hardcoded one
- From: Joaquim Manuel Pereira Rocha <jrocha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ocrfeeder] Find the unpaper executable path instead of using a hardcoded one
- Date: Tue, 27 Jul 2010 22:14:43 +0000 (UTC)
commit a2898d6cc43ddb466c0b277272c4ef17eb3f4b12
Author: Joaquim Rocha <jrocha igalia com>
Date: Thu Jul 22 10:40:52 2010 +0200
Find the unpaper executable path instead of using a hardcoded one
The above is done for the configuration
studio/configuration.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/studio/configuration.py b/studio/configuration.py
index ac80dd0..f72e59b 100644
--- a/studio/configuration.py
+++ b/studio/configuration.py
@@ -279,7 +279,7 @@ class ConfigurationManager(object):
BOXES_STROKE: (94, 156, 235, 250),
IMAGE_FILL: (0, 183, 0, 150),
WINDOW_SIZE: 'auto',
- UNPAPER: '/usr/bin/unpaper',
+ UNPAPER: getExecPath('unpaper'),
UNPAPER_USE_BLACK_FILTER: True,
UNPAPER_NOISE_FILTER_INTENSITY: 'auto',
UNPAPER_GRAY_FILTER_SIZE: 'auto',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]