From 691263b066965124b7635d971d7282ac46f0b1a9 Mon Sep 17 00:00:00 2001 From: Markus Date: Tue, 5 Feb 2019 21:14:17 +0000 Subject: [PATCH] Avoid cache for uploaded images --- rcgcdw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rcgcdw.py b/rcgcdw.py index 611c22b..5073b43 100644 --- a/rcgcdw.py +++ b/rcgcdw.py @@ -202,7 +202,7 @@ def webhook_formatter(action, STATIC, **params): logging.debug(urls) if "-1" not in urls: # oage removed before we asked for it img_info = next(iter(urls.values()))["imageinfo"] - embed["image"]["url"] = img_info[0]["url"] + embed["image"]["url"] = img_info[0]["url"] + "?version=" + "".join([x for x in img_info[0]["timestamp"] if x.isdigit()]) additional_info_retrieved = True else: pass