Fix updating key 0 in WorkerTaskManager
This commit is contained in:
parent
bde8b30d5c
commit
7ca09ba75b
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class CustomSortedList(MutableSequence):
|
||||||
|
|
||||||
def updateItem(self, value, update_key=None, update_value=None):
|
def updateItem(self, value, update_key=None, update_value=None):
|
||||||
self.remove(value)
|
self.remove(value)
|
||||||
if update_key:
|
if update_key is not None:
|
||||||
value[update_key] = update_value
|
value[update_key] = update_value
|
||||||
self.append(value)
|
self.append(value)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue