Fix syntax error
This commit is contained in:
parent
97647f23a6
commit
1f9991bcd0
|
@ -505,8 +505,10 @@ class receiveDataThread(threading.Thread):
|
||||||
# pubkeyrequest??
|
# pubkeyrequest??
|
||||||
if objectType == 'pubkeyrequest':
|
if objectType == 'pubkeyrequest':
|
||||||
objectType = 'getpubkey'
|
objectType = 'getpubkey'
|
||||||
elif objectType != 'pubkey' and objectType != 'getpubkey' and
|
elif (objectType != 'pubkey' and
|
||||||
objectType != 'msg' and objectType != 'broadcast':
|
objectType != 'getpubkey' and
|
||||||
|
objectType != 'msg' and
|
||||||
|
objectType != 'broadcast'):
|
||||||
sys.stderr.write(
|
sys.stderr.write(
|
||||||
'Error: sendData has been asked to send a strange objectType: %s\n' % str(objectType))
|
'Error: sendData has been asked to send a strange objectType: %s\n' % str(objectType))
|
||||||
return
|
return
|
||||||
|
|
Reference in New Issue
Block a user