This commit is contained in:
parent
77fae5eda6
commit
132e628f4e
1 changed files with 2 additions and 2 deletions
|
@ -123,7 +123,7 @@ with Session(engine) as session:
|
||||||
article_record.last_updated_time.astimezone() != last_updated_time
|
article_record.last_updated_time.astimezone() != last_updated_time
|
||||||
)
|
)
|
||||||
except NoResultFound:
|
except NoResultFound:
|
||||||
# Is a new article, or at least one that doesn't match based on the link
|
# Is a new article
|
||||||
article_record = KuowStory()
|
article_record = KuowStory()
|
||||||
process_article = True
|
process_article = True
|
||||||
is_new_article = True
|
is_new_article = True
|
||||||
|
@ -157,7 +157,7 @@ with Session(engine) as session:
|
||||||
except (NameError, TypeError):
|
except (NameError, TypeError):
|
||||||
print("Could not find or load any tags from the 'tags' property")
|
print("Could not find or load any tags from the 'tags' property")
|
||||||
|
|
||||||
# Remove duplicates
|
# Remove duplicate tags
|
||||||
tags = list(set(tags))
|
tags = list(set(tags))
|
||||||
|
|
||||||
additional_tag_string = ""
|
additional_tag_string = ""
|
||||||
|
|
Loading…
Reference in a new issue