[ocrfeeder] Remove a semi-duplicated line from PDF import code
- From: Joaquim Rocha <jrocha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ocrfeeder] Remove a semi-duplicated line from PDF import code
- Date: Sat, 21 Mar 2020 22:51:58 +0000 (UTC)
commit 38c995def55265e178dc1e7f09b6d057af3ff97d
Author: scx <scx mail gmail com>
Date: Sun Mar 8 23:41:52 2020 +0100
Remove a semi-duplicated line from PDF import code
src/ocrfeeder/util/lib.py | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/src/ocrfeeder/util/lib.py b/src/ocrfeeder/util/lib.py
index bee5ac7..4b137e5 100644
--- a/src/ocrfeeder/util/lib.py
+++ b/src/ocrfeeder/util/lib.py
@@ -73,7 +73,6 @@ def convertPdfToImages(pdf_file, temp_dir = '/tmp'):
if pdf_file != pdf_file_safe:
try:
- pdf_path_safe = os.path.join(dir_name, file_name_safe)
# The prefix added here is for extra safety so there are less chances
# for this path to match the original one in future changes.
pdf_path_safe = os.path.join(dir_name, 'OCRFEEDER_' + file_name_safe)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]