From 66bf74b444275ad8b5dd4f58b33f0871399e609f Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 8 Sep 2022 21:16:57 +0200 Subject: [PATCH] fix whoopsie --- files/classes/submission.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/classes/submission.py b/files/classes/submission.py index 3d8abe1ce..40bb6ec67 100644 --- a/files/classes/submission.py +++ b/files/classes/submission.py @@ -376,7 +376,7 @@ class Submission(Base): if o.exclusive == 3: body += " - WINNER!" - if not winner and v.admin_level > 2: + if not winner and v and v.admin_level > 2: body += f'''''' body += "" else: