From 2595ed7fc0ac2edbf1859a952b44725dd7bfedd1 Mon Sep 17 00:00:00 2001 From: Ben Rog-Wilhelm Date: Tue, 26 Jul 2022 03:35:55 -0500 Subject: [PATCH] Remove dead references to DEFAULT_IMAGE. --- files/routes/votes.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/files/routes/votes.py b/files/routes/votes.py index e18d8c2d4..76e1f0080 100644 --- a/files/routes/votes.py +++ b/files/routes/votes.py @@ -91,8 +91,6 @@ def api_vote_post(post_id, new, v): # we'll be saving later anyway, so don't bother doing so here else: # create new vote data - DEFAULT_IMAGE = '/assets/images/default-profile-pic.webp' - vote = Vote( user_id=v.id, vote_type=new, @@ -166,8 +164,6 @@ def api_vote_comment(comment_id, new, v): # we'll be saving later anyway, so don't bother doing so here else: # create new vote data - DEFAULT_IMAGE = '/assets/images/default-profile-pic.webp' - vote = CommentVote( user_id=v.id, vote_type=new,