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
1 changed files with 5 additions and 5 deletions

View File

@ -97,12 +97,12 @@ def mux_streams():
def cleanup():
try:
for key in FILES:
if key not in OUTPUT_KEYS:
for key in FILES:
if key not in OUTPUT_KEYS:
try:
remove(FILES[key])
except FileNotFoundError:
pass
except FileNotFoundError:
pass
def yes_no_question(question, default):