diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2009-01-27 21:10:01 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2009-01-27 21:10:01 +0100 |
| commit | 979f7263f0c8807dce237fcfb5586112c55e5e20 (patch) | |
| tree | 051cda7c4f8dbe4edd7ed4b92aeb9b6faf073547 /lib/python/Components/Console.py | |
| parent | 80059ab78691323ff8bb30ba4db8577a5185fc6d (diff) | |
| parent | fe1c9f7cf4e292566548eb5ce2fed90ad669a186 (diff) | |
| download | enigma2-979f7263f0c8807dce237fcfb5586112c55e5e20.tar.gz enigma2-979f7263f0c8807dce237fcfb5586112c55e5e20.zip | |
Merge branch 'master' of git.opendreambox.org:/git/enigma2
Diffstat (limited to 'lib/python/Components/Console.py')
| -rw-r--r-- | lib/python/Components/Console.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/python/Components/Console.py b/lib/python/Components/Console.py index 136d10d0..f1f3fd95 100644 --- a/lib/python/Components/Console.py +++ b/lib/python/Components/Console.py @@ -21,7 +21,9 @@ class Console(object): self.appContainers[name] = eConsoleAppContainer() self.appContainers[name].dataAvail.append(boundFunction(self.dataAvailCB,name)) self.appContainers[name].appClosed.append(boundFunction(self.finishedCB,name)) - retval = self.appContainers[name].execute(cmd) + if isinstance(cmd, str): # until .execute supports a better api + cmd = [cmd] + retval = self.appContainers[name].execute(*cmd) if retval: self.finishedCB(name, retval) |
