diff options
| author | Fraxinas <andreas.frisch@multimedia-labs.de> | 2009-06-17 09:31:07 +0200 |
|---|---|---|
| committer | Fraxinas <andreas.frisch@multimedia-labs.de> | 2009-06-17 09:31:07 +0200 |
| commit | 3455b60a05c4c3f7a59c2e5949f132bb04134969 (patch) | |
| tree | fc98e3c1c3717e5fc33980292d8cc9994fccc028 /lib/python/Plugins/Extensions/DVDBurn | |
| parent | d54760e74574f4fdc37b73f9afc8474e744d8543 (diff) | |
| download | enigma2-3455b60a05c4c3f7a59c2e5949f132bb04134969.tar.gz enigma2-3455b60a05c4c3f7a59c2e5949f132bb04134969.zip | |
don't crash when removing of temp. files failes
Diffstat (limited to 'lib/python/Plugins/Extensions/DVDBurn')
| -rw-r--r-- | lib/python/Plugins/Extensions/DVDBurn/Process.py | 5 |
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): |
