Skip to content

Commit

Permalink
Merge pull request #67 from x10102/master
Browse files Browse the repository at this point in the history
Fix bug preventing czech articles from showing up in RSS feed
  • Loading branch information
x10102 authored Sep 9, 2024
2 parents 5087948 + 19ba854 commit dfbf37a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions connectors/rss.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ def _process_new_page(self, update) -> bool:
info('Ignoring {title} in RSS feed (couldn\'t match wikidot username {author} to a user)')
return False
debug(f'Check {title} with ts {timestamp}, last db update was {self.__dbs.lastupdated}')
if title.lower().endswith(IGNORE_BRANCH_TAG):
info(f'Ignoring {title} in RSS feed (not a translation)')
return False
#if title.lower().endswith(IGNORE_BRANCH_TAG):
# info(f'Ignoring {title} in RSS feed (not a translation)')
# return False

if timestamp+TIMEZONE_UTC_OFFSET > self.__dbs.lastupdated:
if self.__dbs.get_article_by_link(update['link']):
Expand Down

0 comments on commit dfbf37a

Please sign in to comment.