Add isRobot() method to iwla

This commit is contained in:
Gregory Soutade 2016-09-25 20:36:51 +02:00
parent 16cf4471dc
commit b425edfa9a

View File

@ -296,6 +296,9 @@ class IWLA(object):
return False return False
return True return True
def isRobot(self, hit):
return hit['robot']
def _appendHit(self, hit): def _appendHit(self, hit):
remote_addr = hit['remote_addr'] remote_addr = hit['remote_addr']