mirror of https://gitlab.com/bashrc2/epicyon
Redundant logic
parent
764f6673c0
commit
99035b1b7b
|
@ -138,12 +138,6 @@ def isFollowingActor(baseDir: str,
|
|||
return False
|
||||
if actor.lower() in open(followingFile).read().lower():
|
||||
return True
|
||||
if '@' in actor and '://' not in actor:
|
||||
# the actor is a handle: nickname@domain
|
||||
followingHandle = actor.lower()
|
||||
if followingHandle in open(followingFile).read().lower():
|
||||
return True
|
||||
return False
|
||||
followingNickname = getNicknameFromActor(actor)
|
||||
if not followingNickname:
|
||||
print('WARN: unable to find nickname in ' + actor)
|
||||
|
|
Loading…
Reference in New Issue