aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorFraxinas <andreas.frisch@multimedia-labs.de>2008-11-04 23:03:42 +0100
committerAndreas Oberritter <obi@saftware.de>2008-11-06 01:52:05 +0100
commit73e179bb7dfd67800dce39a383a269b2d871d180 (patch)
tree56ae14778fdfb0249f92262c4868e9dd406eed51 /lib/python
parent61e2eca2450a20da4ecd5cc138058e221df9837f (diff)
downloadenigma2-73e179bb7dfd67800dce39a383a269b2d871d180.tar.gz
enigma2-73e179bb7dfd67800dce39a383a269b2d871d180.zip
don't crash when exitting dvd image selection without selection
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Plugins/Extensions/DVDBurn/TitleList.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/python/Plugins/Extensions/DVDBurn/TitleList.py b/lib/python/Plugins/Extensions/DVDBurn/TitleList.py
index 600411ce..19380af4 100644
--- a/lib/python/Plugins/Extensions/DVDBurn/TitleList.py
+++ b/lib/python/Plugins/Extensions/DVDBurn/TitleList.py
@@ -207,10 +207,11 @@ class TitleList(Screen, HelpableScreen):
self.session.openWithCallback(self.JobViewCB, JobView, job)
def burnISO(self, path, scope):
- job = Process.DVDisoJob(self.project, path)
- job_manager.AddJob(job)
- job_manager.in_background = False
- self.session.openWithCallback(self.JobViewCB, JobView, job)
+ if path:
+ job = Process.DVDisoJob(self.project, path)
+ job_manager.AddJob(job)
+ job_manager.in_background = False
+ self.session.openWithCallback(self.JobViewCB, JobView, job)
def JobViewCB(self, in_background):
job_manager.in_background = in_background