Don't cache RASP image as it changes in same url

This commit is contained in:
Ville Ranki 2021-07-19 22:44:32 +03:00
parent f66c76e09c
commit 3e2ef459fe
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ class MatrixModule(BotModule):
hour = int(args[1]) hour = int(args[1])
imgurl = 'http://ennuste.ilmailuliitto.fi/' + str(day) + '/wstar_bsratio.curr.' + str(hour) + '00lst.d2.png' imgurl = 'http://ennuste.ilmailuliitto.fi/' + str(day) + '/wstar_bsratio.curr.' + str(hour) + '00lst.d2.png'
await bot.upload_and_send_image(room, imgurl, f"RASP Day {day+1} at {hour}:00") await bot.upload_and_send_image(room, imgurl, f"RASP Day {day+1} at {hour}:00", no_cache=True)
def help(self): def help(self):
return 'RASP Gliding Weather forecast, Finland only' return 'RASP Gliding Weather forecast, Finland only'