projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'bug_351_softwaremanager_save_config_before_backup'
[vuplus_dvbapp]
/
lib
/
python
/
Components
/
VariableValue.py
diff --git
a/lib/python/Components/VariableValue.py
b/lib/python/Components/VariableValue.py
index
7fde0af
..
feb4534
100644
(file)
--- 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