Update files/helpers/media.py

pull/225/head
Aevann 2024-02-20 02:22:55 +00:00
parent 8d6084ae29
commit 53ad106a2c
1 changed files with 1 additions and 1 deletions

View File

@ -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()