From 3783313af011a0849886279e5e50727e691a4eb3 Mon Sep 17 00:00:00 2001 From: Jarno Rankinen Date: Tue, 1 Nov 2022 22:25:54 +0200 Subject: [PATCH] Disable cache when uploading image --- modules/cam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/cam.py b/modules/cam.py index 965a676..cafb1f3 100644 --- a/modules/cam.py +++ b/modules/cam.py @@ -93,7 +93,7 @@ class MatrixModule(BotModule): async def get_snapshot(self, camid, bot, room, event): imgurl = f"{self.motionurl.replace(':8080',':8081')}/{camid}/current" self.logger.info(f"Fetching image from {imgurl}") - await bot.upload_and_send_image(room, imgurl, event) + await bot.upload_and_send_image(room, imgurl, event, no_cache=True) def help(self): return self.helptext.splitlines()[0]