From b425edfa9a20b42b93e082f7ef3adf30716836af Mon Sep 17 00:00:00 2001 From: Gregory Soutade Date: Sun, 25 Sep 2016 20:36:51 +0200 Subject: [PATCH] Add isRobot() method to iwla --- iwla.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/iwla.py b/iwla.py index b9a027b..650dbdc 100755 --- a/iwla.py +++ b/iwla.py @@ -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']