diff --git a/Calendar/E-Paper.py b/Calendar/E-Paper.py index affb7c8..e6df861 100644 --- a/Calendar/E-Paper.py +++ b/Calendar/E-Paper.py @@ -66,7 +66,7 @@ def main (): raise ImportError("choosen_design must be valid (" + choosen_design + ")") debug.print_line("Fetching weather information from open weather map") - owm = OwmForecasts.OwmForecasts(location, api_key) + owm = OwmForecasts.OwmForecasts(location, api_key, paid_api=owm_paid_subscription) design.add_weather(owm) debug.print_line('Fetching events from your calendar') diff --git a/Calendar/settings.py.sample b/Calendar/settings.py.sample index ac63081..740540b 100644 --- a/Calendar/settings.py.sample +++ b/Calendar/settings.py.sample @@ -9,6 +9,7 @@ rss_feeds = [ ] api_key = "" +owm_paid_subscription = False location = "Julich, DE" week_starts_on = "Monday" display_colours = "bwr"