Add module RATP Weather
This commit is contained in:
parent
b19f7a7f36
commit
084dce621c
9 changed files with 93 additions and 0 deletions
5
main.py
5
main.py
|
|
@ -73,6 +73,11 @@ def main():
|
|||
mod = WeatherAlertsModule().draw_module(config, 480, 200)
|
||||
image.paste(mod, (0, 580-mod.height-5), mod)
|
||||
|
||||
# RATP weather
|
||||
from modules.ratp import RATPWeatherModule
|
||||
ratp = RATPWeatherModule().draw_module(config, int(480/1.6), 94)
|
||||
image.paste(ratp, (480-int(480/1.6), 205))
|
||||
|
||||
# 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