Fixed CQ of class_objectProcessor, bitmessagecurses and bitmessageqt module
This commit is contained in:
parent
61f7f32dfc
commit
360539b320
|
@ -29,7 +29,6 @@ import state
|
||||||
|
|
||||||
from addresses import addBMIfNotPresent, decodeAddress
|
from addresses import addBMIfNotPresent, decodeAddress
|
||||||
from bmconfigparser import BMConfigParser
|
from bmconfigparser import BMConfigParser
|
||||||
from helper_ackPayload import genAckPayload
|
|
||||||
from helper_sql import sqlExecute, sqlQuery
|
from helper_sql import sqlExecute, sqlQuery
|
||||||
from inventory import Inventory
|
from inventory import Inventory
|
||||||
|
|
||||||
|
@ -921,7 +920,7 @@ def sendMessage(sender="", recv="", broadcast=None, subject="", body="", reply=F
|
||||||
for addr in recvlist:
|
for addr in recvlist:
|
||||||
if addr != "":
|
if addr != "":
|
||||||
# pylint: disable=redefined-outer-name
|
# pylint: disable=redefined-outer-name
|
||||||
status, version, stream, ripe = decodeAddress(addr)
|
status, version, stream, ripe = decodeAddress(addr) # pylint: disable=unused-variable
|
||||||
if status != "success":
|
if status != "success":
|
||||||
set_background_title(d, "Recipient address error")
|
set_background_title(d, "Recipient address error")
|
||||||
err = "Could not decode" + addr + " : " + status + "\n\n"
|
err = "Could not decode" + addr + " : " + status + "\n\n"
|
||||||
|
|
|
@ -2071,6 +2071,7 @@ class MyForm(settingsmixin.SMainWindow):
|
||||||
).arg(email)
|
).arg(email)
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
# pylint: disable=unused-variable
|
||||||
status, addressVersionNumber, streamNumber, ripe = decodeAddress(
|
status, addressVersionNumber, streamNumber, ripe = decodeAddress(
|
||||||
toAddress)
|
toAddress)
|
||||||
if status != 'success':
|
if status != 'success':
|
||||||
|
|
|
@ -745,6 +745,8 @@ class objectProcessor(threading.Thread):
|
||||||
# We don't actually need the ackdata for acknowledgement
|
# We don't actually need the ackdata for acknowledgement
|
||||||
# since this is a broadcast message but we can use it to
|
# since this is a broadcast message but we can use it to
|
||||||
# update the user interface when the POW is done generating.
|
# update the user interface when the POW is done generating.
|
||||||
|
streamNumber = decodeAddress(fromAddress)[2]
|
||||||
|
ackdata = genAckPayload(streamNumber, 0)
|
||||||
toAddress = '[Broadcast subscribers]'
|
toAddress = '[Broadcast subscribers]'
|
||||||
|
|
||||||
helper_sent.insert(
|
helper_sent.insert(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user