summaryrefslogtreecommitdiffstats
path: root/ocrloader.py
diff options
context:
space:
mode:
Diffstat (limited to 'ocrloader.py')
-rwxr-xr-xocrloader.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ocrloader.py b/ocrloader.py
index c27f7e0..c068b4f 100755
--- a/ocrloader.py
+++ b/ocrloader.py
@@ -84,6 +84,7 @@ def process(cfg, filename, payload, enable_ocr=True):
'-F', 'form.widgets.owner=%s' % cfg.get('user'),
'-F', 'form.widgets.treating_groups=%s' % (
cfg.get('treating_groups') or cfg.get('treating_groups') or ''),
+ '-F', 'form.widgets.recipient_groups=%s' % (cfg.get('recipient_groups') or ''),
'-F', 'form.widgets.title=%s' % title,
'-F', 'form.widgets.keywords=%s' % cfg.get('keywords', ''),
'-u', '%s:%s' % (cfg.get('ged_username'), cfg.get('ged_password')),