diff --git a/Calendar/E-Paper.py b/Calendar/E-Paper.py index f771e9f..f87cc01 100644 --- a/Calendar/E-Paper.py +++ b/Calendar/E-Paper.py @@ -16,6 +16,7 @@ from settings import * from MonthOvPanel import MonthOvPanel import OwmForecasts import IcalEvents +import RssParserPosts locale.setlocale(locale.LC_ALL, datetime_locals[language]) debug = DebugConsole() @@ -59,9 +60,13 @@ def main (): owm = OwmForecasts.OwmForecasts(api_key) design.add_weather(OwmForecasts.OwmForecasts(api_key)) - debug.print_line('Fetching events from your calendar') - events_cal = IcalEvents.IcalEvents(ical_urls) - design.add_calendar(events_cal) + #debug.print_line('Fetching events from your calendar') + #events_cal = IcalEvents.IcalEvents(ical_urls) + #design.add_calendar(events_cal) + + debug.print_line('Fetching posts from your rss-feeds') + rss = RssParserPosts.RssParserPosts(rss_feeds) + design.add_rssfeed(rss) for output in output_adapters: output.render(design)