diff --git a/files/helpers/media.py b/files/helpers/media.py index 92f6b792a..fa610ad50 100644 --- a/files/helpers/media.py +++ b/files/helpers/media.py @@ -27,7 +27,7 @@ def remove_media_using_link(path): os.remove(path) def media_ratelimit(v): - if v.id == 15014: # Marseygen exception for a day + if v.id == 15014: # Marseygen exception return t = time.time() - 86400 count = g.db.query(Media).filter(Media.user_id == v.id, Media.created_utc > t).count()