From db6aad84eca9c44dbce6b0ae6316d392450caf1f Mon Sep 17 00:00:00 2001 From: Jason Schwarzenberger Date: Wed, 4 Nov 2020 11:12:01 +1300 Subject: [PATCH] fix mistake. --- apiserver/feed.py | 2 +- apiserver/settings.py.example | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apiserver/feed.py b/apiserver/feed.py index d47f036..81959f7 100644 --- a/apiserver/feed.py +++ b/apiserver/feed.py @@ -21,7 +21,7 @@ for key, value in settings.SUBSTACK.items(): substacks[key] = substack.Publication(value['url']) categories = {} for key, value in settings.CATEGORY.items(): - categories[key] = news.Cateogry(value['url']) + categories[key] = news.Category(value['url']) sitemaps = {} for key, value in settings.SITEMAP.items(): sitemaps[key] = news.Sitemap(value['url']) diff --git a/apiserver/settings.py.example b/apiserver/settings.py.example index 0852cdc..ea6c42f 100644 --- a/apiserver/settings.py.example +++ b/apiserver/settings.py.example @@ -19,7 +19,7 @@ NUM_SUBSTACK = 10 # 'the bulletin': { 'url': "https://thespinoff.substack.com", 'count': 10}, # } -# CATEGORIES = { +# CATEGORY = { # 'rnz national': { 'url': "https://www.rnz.co.nz/news/national", 'count': 10}, # }