type shall not be a list
This commit is contained in:
parent
e515ec145d
commit
1f1e5e5d26
|
@ -69,6 +69,8 @@ class Values(object):
|
||||||
def set_previous_value(self, opt):
|
def set_previous_value(self, opt):
|
||||||
if opt in self.values:
|
if opt in self.values:
|
||||||
old_value = self.values[opt]
|
old_value = self.values[opt]
|
||||||
|
elif opt.is_multi():
|
||||||
|
old_value = []
|
||||||
else:
|
else:
|
||||||
old_value = None
|
old_value = None
|
||||||
if type(old_value) == Multi:
|
if type(old_value) == Multi:
|
||||||
|
|
Loading…
Reference in New Issue