Skip to content

Commit fa19632

Browse files
committed
Fix bug in handling of case variations of the group acronym of agendas.
- Legacy-Id: 2417
1 parent b9dbf5c commit fa19632

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/meeting/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ def session_agenda(request, num, session, ext=None):
127127
extensions = [ ext.lstrip(".") ]
128128
else:
129129
extensions = ["html", "htm", "txt", "HTML", "HTM", "TXT", ]
130-
for wg in (session, session.upper(), session.lower()):
130+
for wg in [session, session.upper(), session.lower()]:
131131
for e in extensions:
132-
path = settings.AGENDA_PATH_PATTERN % {"meeting":num, "wg":session, "ext":e}
132+
path = settings.AGENDA_PATH_PATTERN % {"meeting":num, "wg":wg, "ext":e}
133133
if os.path.exists(path):
134134
file = open(path)
135135
text = file.read()

0 commit comments

Comments
 (0)