well placed continue

This commit is contained in:
Simon 2021-03-25 22:59:41 +00:00
parent e57ae29486
commit f9beefe96a

View File

@ -384,6 +384,7 @@ def stream_trimmer_loop():
#if stream already marked as finished, just remove it #if stream already marked as finished, just remove it
if '_fin' in systems[system].STATUS[stream_id] and systems[system].STATUS[stream_id]['LAST'] < _now - 5: if '_fin' in systems[system].STATUS[stream_id] and systems[system].STATUS[stream_id]['LAST'] < _now - 5:
removed = systems[system].STATUS.pop(stream_id) removed = systems[system].STATUS.pop(stream_id)
continue
try: try:
if systems[system].STATUS[stream_id]['LAST'] < _now - 5: if systems[system].STATUS[stream_id]['LAST'] < _now - 5: