[fix] waittime is 0 if the waittime was not logged in the queue_log

ticket #3684
parent 5241e649
......@@ -48,7 +48,7 @@ def _get_event_with_enterqueue(start, end, match, event):
'time': enter_map[r.callid],
'event': event,
'talktime': 0,
'waittime': int(r.data3)
'waittime': int(r.data3) if r.data3 else 0
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment