Multi export: Allow restriction to organizer

This commit is contained in:
Raphael Michel
2020-07-03 11:56:36 +02:00
parent 74acfbe2fd
commit 9920a47580
2 changed files with 3 additions and 1 deletions

View File

@@ -50,6 +50,8 @@ def multiexport(organizer: Organizer, user: User, fileid: str, provider: str, fo
responses = register_multievent_data_exporters.send(organizer)
for receiver, response in responses:
if not response:
continue
ex = response(events)
if ex.identifier == provider:
d = ex.render(form_data)