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

This commit is contained in:
Srevin Saju 2019-12-27 13:59:13 +03:00 committed by James Cameron
parent 139370d888
commit 7e4264aeab

View File

@ -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