summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xocrloader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ocrloader.py b/ocrloader.py
index 1fff8a7..04bb022 100755
--- a/ocrloader.py
+++ b/ocrloader.py
@@ -83,7 +83,7 @@ def process(cfg, filename, payload, enable_ocr=True):
'-F', 'form.widgets.location=%s' % cfg.get('default_directory'),
'-F', 'form.widgets.owner=%s' % cfg.get('user'),
'-F', 'form.widgets.treating_groups=%s' % (
- cfg.get('treating_groups') or cfg.get('treating_groups') or ''),
+ cfg.get('treating_groups') or cfg.get('treating_group') or ''),
'-F', 'form.widgets.recipient_groups=%s' % (cfg.get('recipient_groups') or ''),
'-F', 'form.widgets.title=%s' % title,
'-F', 'form.widgets.notification_recipients=%s' % cfg.get('notification_recipients', ''),