Fix checking for author
This commit is contained in:
parent
c7b266579a
commit
eecfaf43cd
1 changed files with 1 additions and 1 deletions
|
@ -24,11 +24,11 @@ THINGS = [
|
||||||
]
|
]
|
||||||
|
|
||||||
def by_me(actor):
|
def by_me(actor):
|
||||||
aa = actor.email + " " + actor.name
|
|
||||||
if actor.email in ('***REMOVED***', '***REMOVED***@gmail.com'):
|
if actor.email in ('***REMOVED***', '***REMOVED***@gmail.com'):
|
||||||
return True
|
return True
|
||||||
if actor.name in ('***REMOVED***',):
|
if actor.name in ('***REMOVED***',):
|
||||||
return True
|
return True
|
||||||
|
aa = f"{actor.email} {actor.name}"
|
||||||
for thing in THINGS:
|
for thing in THINGS:
|
||||||
if thing in aa:
|
if thing in aa:
|
||||||
print("WARNING!!!", actor)
|
print("WARNING!!!", actor)
|
||||||
|
|
Loading…
Add table
Reference in a new issue