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