pylint :-(

This commit is contained in:
s3goat 2018-09-20 15:20:26 +02:00 committed by GitHub
parent 2849ae7641
commit 5d012906b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -708,11 +708,10 @@ def handlech(c, stdscr):
redraw(stdscr)
def sendMessage(sender="", recv="", broadcast=None, subject="", body="", reply=False):
#global streamNumber
#streamNumber = 0
# 0 = Auto , 1 = stream 1 is the only supported stream currently
# global streamNumber
# streamNumber = 0
# 0 = Auto , 1 = stream 1 is the only supported stream currently
if sender == "":
return
d = Dialog(dialog="dialog")
@ -790,8 +789,7 @@ def sendMessage(sender="", recv="", broadcast=None, subject="", body="", reply=F
stealthLevel = BMConfigParser().safeGetInt('bitmessagesettings', 'ackstealthlevel')
#ackdata = genAckPayload(streamNumber, stealthLevel)
ackdata = genAckPayload( stealthLevel=stealthLevel)
sqlExecute(
"INSERT INTO sent VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",
sqlExecute("INSERT INTO sent VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",
"",
addr,
ripe,