Skip to content

Commit

Permalink
Added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mcanu committed Dec 26, 2024
1 parent 5e79486 commit 8b3bbe2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions label_studio/core/context_processors.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 8b3bbe2

Please sign in to comment.