fix mistake.

This commit is contained in:
Jason Schwarzenberger 2020-11-04 11:12:01 +13:00
parent 29f8a8b8cc
commit db6aad84ec
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ for key, value in settings.SUBSTACK.items():
substacks[key] = substack.Publication(value['url']) substacks[key] = substack.Publication(value['url'])
categories = {} categories = {}
for key, value in settings.CATEGORY.items(): for key, value in settings.CATEGORY.items():
categories[key] = news.Cateogry(value['url']) categories[key] = news.Category(value['url'])
sitemaps = {} sitemaps = {}
for key, value in settings.SITEMAP.items(): for key, value in settings.SITEMAP.items():
sitemaps[key] = news.Sitemap(value['url']) sitemaps[key] = news.Sitemap(value['url'])

View File

@ -19,7 +19,7 @@ NUM_SUBSTACK = 10
# 'the bulletin': { 'url': "https://thespinoff.substack.com", 'count': 10}, # 'the bulletin': { 'url': "https://thespinoff.substack.com", 'count': 10},
# } # }
# CATEGORIES = { # CATEGORY = {
# 'rnz national': { 'url': "https://www.rnz.co.nz/news/national", 'count': 10}, # 'rnz national': { 'url': "https://www.rnz.co.nz/news/national", 'count': 10},
# } # }