Skip to content

Commit 21a73ad

Browse files
committed
Fixed a py2/py3 issue in building meeting materials bundles.
- Legacy-Id: 17261
1 parent fb75228 commit 21a73ad

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

ietf/meeting/views.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,10 @@
3939
from django.forms.models import modelform_factory, inlineformset_factory
4040
from django.template import TemplateDoesNotExist
4141
from django.template.loader import render_to_string
42+
from django.utils.encoding import force_str
4243
from django.utils.functional import curry
43-
from django.views.decorators.cache import cache_page
4444
from django.utils.text import slugify
45+
from django.views.decorators.cache import cache_page
4546
from django.views.decorators.csrf import ensure_csrf_cookie, csrf_exempt
4647
from django.views.generic import RedirectView
4748

@@ -686,6 +687,7 @@ def session_draft_list(num, acronym):
686687

687688
result = []
688689
for draft in drafts:
690+
draft = force_str(draft)
689691
try:
690692
if re.search('-[0-9]{2}$', draft):
691693
doc_name = draft

0 commit comments

Comments
 (0)