From 35ebd6e2cceb6317966f2c41ff1d4c9847f0e26f Mon Sep 17 00:00:00 2001 From: s3goat <41472927+dimyme@users.noreply.github.com> Date: Wed, 19 Sep 2018 13:10:03 +0200 Subject: [PATCH] little fixes --- src/bitmessagecurses/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bitmessagecurses/__init__.py b/src/bitmessagecurses/__init__.py index e23bc021..c2179f83 100644 --- a/src/bitmessagecurses/__init__.py +++ b/src/bitmessagecurses/__init__.py @@ -264,6 +264,7 @@ def dialogreset(stdscr): stdscr.keypad(1) curses.curs_set(0) def handlech(c, stdscr): + addr="" if c != curses.ERR: global inboxcur, addrcur, sentcur, subcur, abookcur, blackcur if c in range(256): @@ -781,7 +782,8 @@ def sendMessage(sender="", recv="", broadcast=None, subject="", body="", reply=F continue if len(shared.connectedHostsList) == 0: set_background_title(d, "Not connected warning") - scrollbox(d, unicode("Because you are not currently connected to the network, the BM will not be sent right now")) + scrollbox(d, unicode("Because you are not currently connected \ + to the network, the BM will not be sent right now")) stealthLevel = BMConfigParser().safeGetInt('bitmessagesettings', 'ackstealthlevel') ackdata = genAckPayload(streamNumber, stealthLevel) sqlExecute(