Bug fix
This commit is contained in:
parent
22fa039f1b
commit
2b07779f5c
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ class Website(models.Model):
|
|||
url = random.choice(self.notable_pages.all()).url
|
||||
elif rand <= 0.8:
|
||||
search_term_text = self.name + " " + \
|
||||
random.choice(self.keywords.all())
|
||||
str(random.choice(self.keywords.all()))
|
||||
url = user.search_engine.search_url(search_term_text)
|
||||
else:
|
||||
url = user.search_engine.search_url(self.name)
|
||||
|
|
Loading…
Reference in a new issue