From a85725e146e1a6797423f0d6f98a3293a87a9eaf Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Fri, 13 Feb 2015 12:09:56 +0000 Subject: [PATCH] Added a guard against crashing because of missing timeslot location or time in check_audio_files(), which is called by create_proceedings() after changes to meeting materials. Fixes issue 1604. - Legacy-Id: 9085 --- ietf/secr/proceedings/proc_utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ietf/secr/proceedings/proc_utils.py b/ietf/secr/proceedings/proc_utils.py index 97be9a93a..f909322f7 100644 --- a/ietf/secr/proceedings/proc_utils.py +++ b/ietf/secr/proceedings/proc_utils.py @@ -41,6 +41,8 @@ def check_audio_files(group,meeting): timeslot = session.official_scheduledsession().timeslot except IndexError: continue + if not (timeslot.location and timeslot.time): + continue room = timeslot.location.name.lower() room = room.replace(' ','') room = room.replace('/','')