From d2be5383026e8445172a56e32e78ea0725be1822 Mon Sep 17 00:00:00 2001
From: Jiri Kalvoda <jirikalvoda@kam.mff.cuni.cz>
Date: Sun, 19 Dec 2021 21:33:12 +0100
Subject: [PATCH] =?UTF-8?q?Opraveno=20logov=C3=A1n=C3=AD=20zm=C4=9Bn=20reg?=
 =?UTF-8?q?istrace=20do=20ro=C4=8Dn=C3=ADku?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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

diff --git a/mo/web/org_users.py b/mo/web/org_users.py
index a983f775..f50abead 100644
--- a/mo/web/org_users.py
+++ b/mo/web/org_users.py
@@ -593,7 +593,7 @@ def org_user_participant_edit(user_id: int, year: int):
         if sess.is_modified(participant):
             changes = db.get_object_changes(participant)
 
-            app.logger.info(f"Participant id {id} year {year} modified, changes: {changes}")
+            app.logger.info(f"Participant id {user_id} year {year} modified, changes: {changes}")
             mo.util.log(
                 type=db.LogType.participant,
                 what=user_id,
-- 
GitLab