fix backward compatibiltiy for recipient groups (#27642)

This commit is contained in:
Frédéric Péters 2018-10-29 16:11:32 +01:00
parent 7dfcec5756
commit 0ca7ba6b55
1 changed files with 1 additions and 1 deletions

View File

@ -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', ''),