Fix is
comparison against literals : Python3.8 Syntax Warning . Fixes #434
This commit is contained in:
parent
139370d888
commit
7e4264aeab
@ -68,8 +68,8 @@ class Profile(object):
|
|||||||
nick = get_nick_name()
|
nick = get_nick_name()
|
||||||
color = get_color()
|
color = get_color()
|
||||||
|
|
||||||
return nick is not '' and \
|
return nick != '' and \
|
||||||
color is not '' and \
|
color != '' and \
|
||||||
self.pubkey is not None and \
|
self.pubkey is not None and \
|
||||||
self.privkey_hash is not None
|
self.privkey_hash is not None
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user