From a39fab14b3416d774cf18ec5cb90f362652216dc Mon Sep 17 00:00:00 2001 From: Alessio Date: Sat, 7 May 2022 19:02:02 -0700 Subject: [PATCH] Fix another lint error --- persistence/user_queries.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/persistence/user_queries.go b/persistence/user_queries.go index f94ddf6..6a43e1f 100644 --- a/persistence/user_queries.go +++ b/persistence/user_queries.go @@ -187,10 +187,7 @@ func (p Profile) CheckUserContentDownloadNeeded(user scraper.User) bool { return true } profile_path := p.get_profile_image_output_path(user) - if !file_exists(profile_path) { - return true - } - return false + return !file_exists(profile_path) } /**