Typo
This commit is contained in:
parent
33bdae96e4
commit
db067e56fc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue