Fix `is` comparison against literals : Python3.8 Syntax Warning . Fixes #434

master
Srevin Saju 4 years ago committed by James Cameron
parent 139370d888
commit 7e4264aeab

@ -68,8 +68,8 @@ class Profile(object):
nick = get_nick_name()
color = get_color()
return nick is not '' and \
color is not '' and \
return nick != '' and \
color != '' and \
self.pubkey is not None and \
self.privkey_hash is not None

Loading…
Cancel
Save