X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fpython%2FScreens%2FConsole.py;h=622fb447973d76005d738a90546bc3077d3c2c64;hp=b8f74125b51ae5e606dbb7b10a986151c86ebea0;hb=e74488aadbdfd34aea53166c9447016f3fa3ac29;hpb=cd548f05df305c56f7919685499c85998d7c0067 diff --git a/lib/python/Screens/Console.py b/lib/python/Screens/Console.py index b8f7412..622fb44 100644 --- a/lib/python/Screens/Console.py +++ b/lib/python/Screens/Console.py @@ -43,12 +43,14 @@ class Console(Screen): def startRun(self): self["text"].setText(_("Execution Progress:") + "\n\n") print "Console: executing in run", self.run, " the command:", self.cmdlist[self.run] - self.container.execute(self.cmdlist[self.run]) + if self.container.execute(self.cmdlist[self.run]): #start of container application failed... + self.runFinished(-1) # so we must call runFinished manual def runFinished(self, retval): self.run += 1 if self.run != len(self.cmdlist): - self.container.execute(self.cmdlist[self.run]) + if self.container.execute(self.cmdlist[self.run]): #start of container application failed... + self.runFinished(-1) # so we must call runFinished manual else: str = self["text"].getText() str += _("Execution finished!!");