From c0b98e7de8a4ee363cf5d8587251ed9203b5d5fb Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sun, 23 Mar 2014 21:41:30 +0100 Subject: [PATCH] WebStats: Fix commit c5c89111. --- WebStats/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebStats/plugin.py b/WebStats/plugin.py index 7eccf9e..197be1a 100644 --- a/WebStats/plugin.py +++ b/WebStats/plugin.py @@ -580,7 +580,7 @@ class WebStatsDB: if DEBUG or random.randint(0,50) == 10: self.refreshCache() - _regexpAddressedTo = re.compile('^(?P[^a-zA-Z0-9]+):') + _regexpAddressedTo = re.compile('^(?P[^:, ]+)[:,]') def refreshCache(self): """Clears the cache tables, and populate them""" self._truncateCache()