Implemented paid_subscription option for owm
This commit is contained in:
parent
5ad6dff6fb
commit
477894b251
2 changed files with 2 additions and 1 deletions
|
@ -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')
|
||||
|
|
|
@ -9,6 +9,7 @@ rss_feeds = [
|
|||
]
|
||||
|
||||
api_key = ""
|
||||
owm_paid_subscription = False
|
||||
location = "Julich, DE"
|
||||
week_starts_on = "Monday"
|
||||
display_colours = "bwr"
|
||||
|
|
Loading…
Reference in a new issue