prefix private attribute with a _
This commit is contained in:
parent
6f46c41743
commit
e787a71ea8
2 changed files with 2 additions and 2 deletions
|
|
@ -77,7 +77,7 @@ class AntiSpam(object):
|
|||
if contact.id == 1:
|
||||
return True
|
||||
|
||||
if not self.check_profile(contact.aum_profile):
|
||||
if not self.check_profile(contact._aum_profile):
|
||||
return False
|
||||
|
||||
return True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue