Update document parsing app
Update URL parameters to the "_id" forms. Add keyword arguments. Remove use of is_path in the DOCUMENT_PARSING_PDFTOTEXT_PATH setting. Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
@@ -6,7 +6,7 @@ from mayan.apps.smart_settings import Namespace
|
||||
|
||||
from .literals import DEFAULT_PDFTOTEXT_PATH
|
||||
|
||||
namespace = Namespace(name='document_parsing', label=_('Document parsing'))
|
||||
namespace = Namespace(label=_('Document parsing'), name='document_parsing')
|
||||
|
||||
setting_auto_parsing = namespace.add_setting(
|
||||
global_name='DOCUMENT_PARSING_AUTO_PARSING', default=True,
|
||||
@@ -21,5 +21,4 @@ setting_pdftotext_path = namespace.add_setting(
|
||||
'File path to poppler\'s pdftotext program used to extract text '
|
||||
'from PDF files.'
|
||||
),
|
||||
is_path=True
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user