X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fpython%2FComponents%2FVariableValue.py;h=feb453424b9948b3629f9c4c1759a272d23a63a5;hb=4531ea135c84d78d96d66a08b67f1f5e09475c55;hp=7fde0af1730b65473eed3db53d8b7843469fe34d;hpb=67b53c1cb06988394c35a6e965c99b72b67fe1be;p=vuplus_dvbapp diff --git a/lib/python/Components/VariableValue.py b/lib/python/Components/VariableValue.py index 7fde0af..feb4534 100644 --- a/lib/python/Components/VariableValue.py +++ b/lib/python/Components/VariableValue.py @@ -7,7 +7,10 @@ class VariableValue(object): def setValue(self, value): self.__value = value if self.instance: - self.instance.setValue(self.__value) + try: + self.instance.setValue(self.__value) + except TypeError: + self.instance.setValue(0) def getValue(self): return self.__value