aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorFraxinas <andreas.frisch@multimedia-labs.de>2009-06-17 09:31:07 +0200
committerFraxinas <andreas.frisch@multimedia-labs.de>2009-06-17 09:31:07 +0200
commit3455b60a05c4c3f7a59c2e5949f132bb04134969 (patch)
treefc98e3c1c3717e5fc33980292d8cc9994fccc028 /lib/python
parentd54760e74574f4fdc37b73f9afc8474e744d8543 (diff)
downloadenigma2-3455b60a05c4c3f7a59c2e5949f132bb04134969.tar.gz
enigma2-3455b60a05c4c3f7a59c2e5949f132bb04134969.zip
don't crash when removing of temp. files failes
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Plugins/Extensions/DVDBurn/Process.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/python/Plugins/Extensions/DVDBurn/Process.py b/lib/python/Plugins/Extensions/DVDBurn/Process.py
index 6d9a4491..9a37c14e 100644
--- a/lib/python/Plugins/Extensions/DVDBurn/Process.py
+++ b/lib/python/Plugins/Extensions/DVDBurn/Process.py
@@ -166,7 +166,10 @@ class DemuxTask(Task):
if failed:
import os
for file in self.generated_files:
- os.remove(file)
+ try:
+ os.remove(file)
+ except OSError:
+ pass
class MplexTaskPostcondition(Condition):
def check(self, task):