mirror of
https://git.wownero.com/wownero/tippero.git
synced 2024-08-15 00:33:14 +00:00
reddit: ignore authorless messages
This commit is contained in:
parent
95ad92bc3e
commit
184476409c
1 changed files with 3 additions and 1 deletions
|
@ -99,7 +99,9 @@ class RedditNetwork(Network):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def _parse(self,item,is_pm):
|
def _parse(self,item,is_pm):
|
||||||
author=self.canonicalize(item.author.name) if hasattr(item,'author') else None
|
if not hasattr(item,'author'):
|
||||||
|
return
|
||||||
|
author=self.canonicalize(item.author.name)
|
||||||
if author==self.canonicalize(self.login):
|
if author==self.canonicalize(self.login):
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue