diff options
| author | Fraxinas <andreas.frisch@multimedia-labs.de> | 2008-11-04 23:03:42 +0100 |
|---|---|---|
| committer | Andreas Oberritter <obi@saftware.de> | 2008-11-06 01:47:05 +0100 |
| commit | 2977b2dfa5d96055c5abc10ec31adb4dbf8f9e2a (patch) | |
| tree | a5e6656dacb7b95cd954cfc3ff9d87412397ab06 /lib/python/Plugins | |
| parent | 70e2fc28acaa3fb20a095acac7079377f8e1eb51 (diff) | |
| download | enigma2-2977b2dfa5d96055c5abc10ec31adb4dbf8f9e2a.tar.gz enigma2-2977b2dfa5d96055c5abc10ec31adb4dbf8f9e2a.zip | |
don't crash when exitting dvd image selection without selection
Diffstat (limited to 'lib/python/Plugins')
| -rw-r--r-- | lib/python/Plugins/Extensions/DVDBurn/TitleList.py | 9 |
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 |
