call the openweather scraper from the image module

This commit is contained in:
mrbwburns
2023-11-20 17:29:45 +01:00
parent a0fa33d5e1
commit 6287affb0c
3 changed files with 12 additions and 1 deletions

View File

@@ -78,3 +78,10 @@ def get_scraped_weatherforecast_image() -> Image:
im = ImageEnhance.Contrast(im).enhance(1.3)
im.save(image_filename)
return im, im
def main():
_, _ = get_scraped_weatherforecast_image()
if __name__ == '__main__':
print(f'running {__name__} in standalone/debug mode')
main()