remove unnecessary return value

master
Aevann 2024-04-18 14:55:32 +02:00
parent b0c9094f13
commit 96185fefcf
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@ def _set_top_poster_of_the_day_id():
User.admin_level == 0,
).group_by(User).order_by(func.sum(Post.upvotes).desc()).first()
if not user: return SNAPPY_ID
if not user: return
user = user[0]