fixed cleanup method's exception handling
This commit is contained in:
parent
424a6e156a
commit
aabc57cc9f
@ -97,9 +97,9 @@ def mux_streams():
|
|||||||
|
|
||||||
|
|
||||||
def cleanup():
|
def cleanup():
|
||||||
try:
|
|
||||||
for key in FILES:
|
for key in FILES:
|
||||||
if key not in OUTPUT_KEYS:
|
if key not in OUTPUT_KEYS:
|
||||||
|
try:
|
||||||
remove(FILES[key])
|
remove(FILES[key])
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user