Don't cache RASP image as it changes in same url
This commit is contained in:
parent
f66c76e09c
commit
3e2ef459fe
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue