mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Don't crash if a exporter signal returns None
This commit is contained in:
@@ -103,6 +103,8 @@ class Command(BaseCommand):
|
||||
|
||||
with language(locale), override(timezone):
|
||||
for receiver, response in signal_result:
|
||||
if not response:
|
||||
return None
|
||||
ex = response(e, o, report_status)
|
||||
if ex.identifier == options['export_provider']:
|
||||
params = json.loads(options.get('parameters') or '{}')
|
||||
|
||||
Reference in New Issue
Block a user