From 8b3bbe26a4a04a624d11e30308a8e4b1bf6fe3b7 Mon Sep 17 00:00:00 2001 From: Marcel Canu Date: Thu, 26 Dec 2024 15:59:26 -0300 Subject: [PATCH] Added comment --- label_studio/core/context_processors.py | 1 + 1 file changed, 1 insertion(+) diff --git a/label_studio/core/context_processors.py b/label_studio/core/context_processors.py index 76b337958f8e..83a9285e6c26 100644 --- a/label_studio/core/context_processors.py +++ b/label_studio/core/context_processors.py @@ -57,6 +57,7 @@ def frontend_events(request): def should_send_install_event(): # Only fire install event once per instance + # Using global variable to avoid checking file on each request global _INSTALL_EVENT_SENT if django_settings.VERSION_EDITION == 'Community' and not _INSTALL_EVENT_SENT: install_file = os.path.join(get_config_dir(), 'install.txt')