From bb5061a441f8b5c69da7cb0df4ad89b847610961 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Mon, 31 May 2021 15:42:18 +0200 Subject: [PATCH] fix --- src/stats/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stats/models.py b/src/stats/models.py index 0bd391a55..6ddb4bc71 100644 --- a/src/stats/models.py +++ b/src/stats/models.py @@ -25,7 +25,7 @@ class Visits(models.Model): m = re.match('^/katalog/lektura/([^,]+)\.html,', line) if m is not None: slug = m.group(1) - _url, uviews, views = line.split(',', 3) + _url, uviews, views, _rest = line.split(',', 3) uviews = int(uviews) views = int(views) try: -- 2.20.1