Add isRobot() method to iwla

This commit is contained in:
Gregory Soutade 2016-09-25 20:36:51 +02:00
parent 16cf4471dc
commit b425edfa9a
1 changed files with 3 additions and 0 deletions

View File

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