Skip to content

Commit

Permalink
Merge pull request #15 from ThiefMaster/fix-indico333
Browse files Browse the repository at this point in the history
Fix compatibility with Indico v3.3.3
  • Loading branch information
bpedersen2 authored Jul 15, 2024
2 parents 593d1a3 + dae50d9 commit 0d570a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions indico_mlz_export/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def all_registrations_csv(event):
reg_data = _registration.data_by_field
rdata = {}
for section in _registration.sections_with_answered_fields:
for field in section.active_fields:
for field in section.available_fields:
if field.id not in reg_data:
continue
ft = ft_to_logickey(field.title)
Expand Down Expand Up @@ -196,7 +196,7 @@ def all_fields(registration, flat=False):
else:
data = defaultdict(dict)
for section in registration.sections_with_answered_fields:
for field in section.active_fields:
for field in section.available_fields:
if field.id not in reg_data:
continue
if flat:
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
setuptools>=39
setuptools_scm[toml]>=3.4
install_requires=
indico>=3.1
indico>=3.3.3
[options.entry_points]
indico.plugins =
mlz_export = indico_mlz_export.plugin:MLZExporterPlugin
Expand Down

0 comments on commit 0d570a7

Please sign in to comment.