summaryrefslogtreecommitdiffstats
path: root/ocrloader.py
diff options
context:
space:
mode:
Diffstat (limited to 'ocrloader.py')
-rw-r--r--ocrloader.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ocrloader.py b/ocrloader.py
index b9b5ead..2db6898 100644
--- a/ocrloader.py
+++ b/ocrloader.py
@@ -60,6 +60,7 @@ def process(cfg, filename, payload, enable_ocr=True):
'-F "form.widgets.portal_type=%s" '\
'-F "form.widgets.location=%s" '\
'-F "form.widgets.owner=%s" '\
+ '-F "form.widgets.treating_group=%s" '\
'-F "form.widgets.title=%s" '\
'-u admin:admin '\
'%s/@@fileimport' % (
@@ -67,6 +68,7 @@ def process(cfg, filename, payload, enable_ocr=True):
cfg.get('default_type'),
cfg.get('default_directory'),
cfg.get('user'),
+ cfg.get('treating_group'),
urllib.quote(title),
cfg.get('ged_base_url')))
return (t == 0)