From 7e50d92e615074a43044ffaf5a50662e15d9d866 Mon Sep 17 00:00:00 2001 From: topilski Date: Sun, 9 Feb 2020 09:09:37 -0500 Subject: [PATCH] Review --- app/provider/view.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/provider/view.py b/app/provider/view.py index 453d362..51edfe3 100644 --- a/app/provider/view.py +++ b/app/provider/view.py @@ -24,10 +24,9 @@ class ProviderView(FlaskView): for stream in streams: front = stream.to_dict() type = stream.get_type() - if type == constants.StreamType.PROXY: + if type == constants.StreamType.PROXY or type == constants.StreamType.VOD_PROXY: proxy.append(front) - elif type == constants.StreamType.VOD_PROXY or type == constants.StreamType.VOD_RELAY or \ - type == constants.StreamType.VOD_ENCODE: + elif type == constants.StreamType.VOD_RELAY or type == constants.StreamType.VOD_ENCODE: vods.append(front) elif type == constants.StreamType.COD_RELAY or type == constants.StreamType.COD_ENCODE: cods.append(front)