From 5d012906b393c7ef05fb091eafe9f546291447b0 Mon Sep 17 00:00:00 2001 From: s3goat <41472927+dimyme@users.noreply.github.com> Date: Thu, 20 Sep 2018 15:20:26 +0200 Subject: [PATCH] pylint :-( --- src/bitmessagecurses/__init__.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/bitmessagecurses/__init__.py b/src/bitmessagecurses/__init__.py index 1e738a6c..e917d793 100644 --- a/src/bitmessagecurses/__init__.py +++ b/src/bitmessagecurses/__init__.py @@ -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,