mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-20 23:56:34 -04:00
fix TypeError
This commit is contained in:
parent
2e20380618
commit
5c8d4d57b1
@ -317,7 +317,7 @@ class RethinkDbFrontier:
|
||||
'adding hashtags %r to existing hashtags %r for page %s',
|
||||
existing_page.hashtags, fresh_page.hashtags, fresh_page.url)
|
||||
existing_page.hashtags = list(set(
|
||||
existing_page.hashtags + fresh_page.hashtags))
|
||||
(existing_page.hashtags or []) + (fresh_page.hashtags or [])))
|
||||
existing_page.hops_off = min(
|
||||
existing_page.hops_off, fresh_page.hops_off)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user