settings: fixed a bug if update a hash setting with an empty dict

parent 6ec23394
......@@ -469,7 +469,8 @@ class HashSetting(object):
def update(self,values):
cnx = self._cnx()
if values:
def items(self):
values = self.get_all()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment