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':
|
if cmd[0] == 'shutdown':
|
||||||
comm_inst.shutdown = True
|
comm_inst.shutdown = True
|
||||||
elif cmd[0] == 'remove_from_insert_list':
|
elif cmd[0] == 'remove_from_insert_list':
|
||||||
|
try:
|
||||||
comm_inst.generating_blocks.remove(cmd[1])
|
comm_inst.generating_blocks.remove(cmd[1])
|
||||||
|
except ValueError:
|
||||||
|
pass
|
||||||
elif cmd[0] == 'announceNode':
|
elif cmd[0] == 'announceNode':
|
||||||
if len(comm_inst.onlinePeers) > 0:
|
if len(comm_inst.onlinePeers) > 0:
|
||||||
comm_inst.announce(cmd[1])
|
comm_inst.announce(cmd[1])
|
||||||
|
|
|
@ -85,7 +85,7 @@
|
||||||
<div class="column has-background-grey-dark has-text-light is-one-fifths content convoListContainer">
|
<div class="column has-background-grey-dark has-text-light is-one-fifths content convoListContainer">
|
||||||
<ul class='conversationList'></ul>
|
<ul class='conversationList'></ul>
|
||||||
</div>
|
</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>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue