fixed cleanup method's exception handling

This commit is contained in:
Kjistóf 2017-02-05 00:15:41 +01:00
parent 424a6e156a
commit aabc57cc9f

View File

@ -97,12 +97,12 @@ 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
def yes_no_question(question, default): def yes_no_question(question, default):