refactor(playout): remove irrelevant try/except
This commit is contained in:
parent
964ee7e07c
commit
f68bc2da88
|
@ -231,7 +231,6 @@ class PypoLiquidsoap:
|
|||
},
|
||||
"""
|
||||
|
||||
try:
|
||||
scheduled_now_files: List[FileEvent] = [
|
||||
x for x in scheduled_now if x.type == EventKind.FILE # type: ignore
|
||||
]
|
||||
|
@ -304,8 +303,6 @@ class PypoLiquidsoap:
|
|||
# something is playing and it shouldn't be.
|
||||
self.telnet_liquidsoap.stop_web_stream_buffer()
|
||||
self.telnet_liquidsoap.stop_web_stream_output()
|
||||
except KeyError as exception:
|
||||
logger.exception("Malformed event in schedule: %s", exception)
|
||||
|
||||
def stop(self, queue_id: int) -> None:
|
||||
self.telnet_liquidsoap.queue_remove(queue_id)
|
||||
|
|
Loading…
Reference in New Issue