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