Skip to content

Commit

Permalink
Update plugin.py
Browse files Browse the repository at this point in the history
Temperatuur Url Aangepast.
  • Loading branch information
L Kuperij committed Dec 10, 2021
1 parent 2e2f9bf commit 4f01abb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/plugin.py
Expand Up @@ -1052,7 +1052,7 @@ def openScreenRadar():
wchat = weatherchat("nl/Nederland/weerbericht")
self.session.open(weathertalk)
elif type == _("Temperature"):
urllib.urlretrieve('http://api.buienradar.nl/image/1.0/weathermapnl/?ext=png&l=2&hist=2&forc=1&step=20&type=temperatuur&w=550&h=512', '/tmp/HetWeer/00.png')
urllib.urlretrieve('http://api.buienradar.nl/image/1.0/weathermapnl/?ext=png&l=2&hist=12&forc=1&step=0&type=temperatuur&w=550&h=512', '/tmp/HetWeer/00.png')
legend = False
elif type == _("Rainfall radar"):
urllib.urlretrieve('http://api.buienradar.nl/image/1.0/radarmapnl/?ext=png&l=2&hist=0&forc=20&step=0&h=512&w=550', '/tmp/HetWeer/00.png')
Expand Down Expand Up @@ -1493,4 +1493,4 @@ def Plugins(path, **kwargs):
plugin_path = path
return PluginDescriptor(name=_("TheWeather"), description=_("RainfallRadar & WeatherInfo") + versienummer,
icon="Images/weerinfo.png",
where=[PluginDescriptor.WHERE_EXTENSIONSMENU, PluginDescriptor.WHERE_PLUGINMENU], fnc=main)
where=[PluginDescriptor.WHERE_EXTENSIONSMENU, PluginDescriptor.WHERE_PLUGINMENU], fnc=main)

0 comments on commit 4f01abb

Please sign in to comment.