backoffice: expand .items() to list (#36515)
This commit is contained in:
parent
82cc9a3a98
commit
259c62a197
|
@ -159,7 +159,7 @@ class FormFillPage(PublicFormFillPage):
|
|||
r += htmltext('<div class="submit-channel-selection" style="display: none;">')
|
||||
r += htmltext('<h3>%s</h3>') % _('Channel')
|
||||
r += htmltext('<select>')
|
||||
for channel_key, channel_label in [('', '-')] + FormData.get_submission_channels().items():
|
||||
for channel_key, channel_label in [('', '-')] + list(FormData.get_submission_channels().items()):
|
||||
selected = ''
|
||||
if self.selected_submission_channel == channel_key:
|
||||
selected = 'selected="selected"'
|
||||
|
|
Loading…
Reference in New Issue