From 1f9991bcd0c6b023c1068a752ad91a03a7eca77a Mon Sep 17 00:00:00 2001 From: bmng-dev Date: Sun, 8 Jun 2014 14:03:58 +0000 Subject: [PATCH] Fix syntax error --- src/class_receiveDataThread.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/class_receiveDataThread.py b/src/class_receiveDataThread.py index a9ef4313..cac1c98c 100644 --- a/src/class_receiveDataThread.py +++ b/src/class_receiveDataThread.py @@ -505,8 +505,10 @@ class receiveDataThread(threading.Thread): # pubkeyrequest?? if objectType == 'pubkeyrequest': objectType = 'getpubkey' - elif objectType != 'pubkey' and objectType != 'getpubkey' and - objectType != 'msg' and objectType != 'broadcast': + elif (objectType != 'pubkey' and + objectType != 'getpubkey' and + objectType != 'msg' and + objectType != 'broadcast'): sys.stderr.write( 'Error: sendData has been asked to send a strange objectType: %s\n' % str(objectType)) return