From 325ce5734c2270a2c4b9d17112bdd04301dcb079 Mon Sep 17 00:00:00 2001 From: s3goat <41472927+dimyme@users.noreply.github.com> Date: Wed, 19 Sep 2018 12:52:20 +0200 Subject: [PATCH] pep fix pep is quite the stickler --- src/bitmessagecurses/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bitmessagecurses/__init__.py b/src/bitmessagecurses/__init__.py index 46b2921b..9c190c59 100644 --- a/src/bitmessagecurses/__init__.py +++ b/src/bitmessagecurses/__init__.py @@ -706,8 +706,9 @@ def handlech(c, stdscr): blackcur = len(blackcur)-1 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")