From: Radek Czajka Date: Mon, 31 May 2021 13:42:18 +0000 (+0200) Subject: fix X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/bb5061a441f8b5c69da7cb0df4ad89b847610961?ds=sidebyside fix --- 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: