X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c504ec523cd815d920528bcdc9b915a83f2fd64a..08f77067cb4b32c91f991924ff718a0508f0fbef:/utils/cron_ipanalyse.py?ds=sidebyside diff --git a/utils/cron_ipanalyse.py b/utils/cron_ipanalyse.py index 7a70e586..be5e6956 100755 --- a/utils/cron_ipanalyse.py +++ b/utils/cron_ipanalyse.py @@ -85,7 +85,9 @@ class LogEntry: if qp[0] == 'OPTIONS': self.request = None else: - if '/search' in qp[1]: + if '/?' in qp[1]: + self.request = 'S' + elif '/search' in qp[1]: self.request = 'S' elif '/reverse' in qp[1]: self.request = 'R'