From 549c8619084cc827ede0109f9dd29a9c85c8b321 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Oudin?= Date: Mon, 26 Feb 2018 14:38:26 +0100 Subject: [PATCH] =?UTF-8?q?Bug=20fix=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- histories/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/histories/models.py b/histories/models.py index 401b67d..f825026 100644 --- a/histories/models.py +++ b/histories/models.py @@ -174,7 +174,7 @@ def generate_partial_history(user, t_start): urls = crawler.output_tree for url in urls: t_start += 5 * random.weibullvariate(1, 1.5) - result.append(PartialHistoryEntry(url, timestamp)) + result.append(PartialHistoryEntry(url.url, timestamp)) return result