add possibility to specify recipients of notifications

This commit is contained in:
Frédéric Péters 2018-05-31 07:13:17 +02:00
parent a328d15855
commit 7dfcec5756
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ def process(cfg, filename, payload, enable_ocr=True):
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.notification_recipients=%s' % cfg.get('notification_recipients', ''),
'-F', 'form.widgets.keywords=%s' % cfg.get('keywords', ''),
'-u', '%s:%s' % (cfg.get('ged_username'), cfg.get('ged_password')),
'%s/@@fileimport' % cfg.get('ged_base_url'),])