From 181caecaeffc9dc80ce611ca0b7636062f4bc784 Mon Sep 17 00:00:00 2001 From: Justij Date: Wed, 27 Mar 2019 10:47:21 -0700 Subject: [PATCH] Fixed annotating event --- app/sockets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/sockets.py b/app/sockets.py index 16b1a58e..e252e0aa 100644 --- a/app/sockets.py +++ b/app/sockets.py @@ -117,7 +117,7 @@ def disconnect(): pull__annotating=current_user.username ) emit('annotating', { - 'image_id': previous, + 'image_id': image_id, 'active': False, 'username': current_user.username }, broadcast=True, include_self=False)