From db067e56fca7227dba3ff42f1bf0d311bdae88e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Oudin?= Date: Mon, 26 Feb 2018 13:59:34 +0100 Subject: [PATCH] Typo --- profiles/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/models.py b/profiles/models.py index 82d1802..2a4c943 100644 --- a/profiles/models.py +++ b/profiles/models.py @@ -91,7 +91,7 @@ class Website(models.Model): """ Generates the url in case the interest chosen is a website. """ rand = random.random() - if user.uses_url: + if user.uses_urls: url = self.url elif rand <= 0.1: url = random.choice(self.notable_pages).url