From 53ad106a2c9b7878ba3df73a87cf71918c4214fb Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 20 Feb 2024 02:22:55 +0000 Subject: [PATCH] Update files/helpers/media.py --- files/helpers/media.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/media.py b/files/helpers/media.py index 7d8f2d999..9e4014f09 100644 --- a/files/helpers/media.py +++ b/files/helpers/media.py @@ -28,7 +28,7 @@ def remove_media_using_link(path): os.remove(path) def media_ratelimit(v): - if v.id == 15014: # Marseygen exception + if v.id in {15014,1718156}: # Marseygen exception return t = time.time() - 86400 count = g.db.query(Media).filter(Media.user_id == v.id, Media.created_utc > t).count()