mirror of
https://git.freebsd.org/ports.git
synced 2025-07-11 14:29:17 -04:00
- Account for DISABLE_NLS - Add patch for runtime bug PR: ports/164202 Submitted by: maintainer Approved by: crees, rene (mentors)
11 lines
503 B
Python
11 lines
503 B
Python
--- src/ocrfeeder/util/lib.py.orig 2012-01-16 23:38:47.000000000 +0800
|
|
+++ src/ocrfeeder/util/lib.py 2012-01-16 23:38:54.000000000 +0800
|
|
@@ -130,7 +130,7 @@
|
|
return command
|
|
|
|
def unpaperImage(configuration_manager, image_path):
|
|
- tmp_dir = configuration_manager.temporary_dir
|
|
+ tmp_dir = configuration_manager.TEMPORARY_FOLDER
|
|
prefix = os.path.splitext(image_path)[0]
|
|
unpapered_name = os.path.join(tmp_dir, os.path.basename(prefix) + '.ppm')
|
|
if os.path.exists(unpapered_name):
|