From ab240b86e7453da2c824ec5e114a346963b72727 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ji=C5=99=C3=AD=20Setni=C4=8Dka?= <setnicka@seznam.cz>
Date: Sun, 5 Dec 2021 18:39:11 +0100
Subject: [PATCH] =?UTF-8?q?Zpracov=C3=A1n=C3=AD=20sken=C5=AF:=20Oprava=20p?=
 =?UTF-8?q?r=C3=A1v=20na=C4=8D=C3=ADt=C3=A1n=C3=AD=20soubor=C5=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 mo/web/org_contest.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mo/web/org_contest.py b/mo/web/org_contest.py
index 5e61ae3d..ed35ab6c 100644
--- a/mo/web/org_contest.py
+++ b/mo/web/org_contest.py
@@ -1964,7 +1964,7 @@ def org_contest_scans_process(ct_id: int, job_id: int, site_id: Optional[int] =
 @app.route('/org/contest/c/<int:ct_id>/scans/<int:job_id>/file/<file>')
 @app.route('/org/contest/c/<int:ct_id>/site/<int:site_id>/scans/<int:job_id>/file/<file>')
 def org_contest_scans_file(ct_id: int, job_id: int, file: str, site_id: Optional[int] = None):
-    get_context(ct_id=ct_id, site_id=site_id, right_needed=Right.upload_solutions)
+    get_context(ct_id=ct_id, site_id=site_id)
 
     sess = db.get_session()
 
-- 
GitLab