catch value error on insert queue removal
parent
e86f154522
commit
e267bbbead
|
@ -31,7 +31,10 @@ def handle_daemon_commands(comm_inst):
|
|||
if cmd[0] == 'shutdown':
|
||||
comm_inst.shutdown = True
|
||||
elif cmd[0] == 'remove_from_insert_list':
|
||||
comm_inst.generating_blocks.remove(cmd[1])
|
||||
try:
|
||||
comm_inst.generating_blocks.remove(cmd[1])
|
||||
except ValueError:
|
||||
pass
|
||||
elif cmd[0] == 'announceNode':
|
||||
if len(comm_inst.onlinePeers) > 0:
|
||||
comm_inst.announce(cmd[1])
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
<div class="column has-background-grey-dark has-text-light is-one-fifths content convoListContainer">
|
||||
<ul class='conversationList'></ul>
|
||||
</div>
|
||||
<div class="column chatBox has-text-light has-background-dark is-four-fifths">yeet</div>
|
||||
<div class="column chatBox has-text-light has-background-dark is-four-fifths"></div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
|
|
Loading…
Reference in New Issue