diff --git a/steem/post.py b/steem/post.py index 0392838..243c56f 100644 --- a/steem/post.py +++ b/steem/post.py @@ -243,7 +243,7 @@ def vote(self, weight, voter=None): """ # Test if post is archived, if so, voting is worthless but just # pollutes the blockchain and account history - if not self.get('net_rshares'): + if self.get('net_rshares', None) == None: raise VotingInvalidOnArchivedPost return self.commit.vote(self.identifier, weight, account=voter)