New WeatherAlertsModule
This commit is contained in:
parent
d0fcfd08d1
commit
e42a4bc1d6
3 changed files with 77 additions and 0 deletions
5
main.py
5
main.py
|
|
@ -67,6 +67,11 @@ def main():
|
|||
from modules.weather import WeeklyWeatherModule
|
||||
image.paste(WeeklyWeatherModule().draw_module(config, int(480/1.6), 275), (480-int(480/1.6), 305))
|
||||
|
||||
# alerts
|
||||
from modules.weather import WeatherAlertsModule
|
||||
mod = WeatherAlertsModule().draw_module(config, 480, 200)
|
||||
image.paste(mod, (0, 580-mod.height-5), mod)
|
||||
|
||||
# températures
|
||||
from modules.weather import WeatherTemperatureModule
|
||||
image.paste(WeatherTemperatureModule().draw_module(config, 480, 200), (0, 580))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue