From d6a42d64d8f26d9eb0f8c9494565796b89446bcb Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 28 Feb 2022 20:33:10 +0100 Subject: [PATCH] make docs clearer --- InvenTree/InvenTree/apps.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/InvenTree/apps.py b/InvenTree/InvenTree/apps.py index 62afa9f3f2..295ab1b9f4 100644 --- a/InvenTree/InvenTree/apps.py +++ b/InvenTree/InvenTree/apps.py @@ -148,7 +148,7 @@ class InvenTreeConfig(AppConfig): def add_user_on_startup(self): """Add a user on startup""" - # stop if already created + # stop if checks were already created if hasattr(settings, 'USER_ADDED') and settings.USER_ADDED: return @@ -193,5 +193,5 @@ class InvenTreeConfig(AppConfig): if settings.TESTING: raise _e - # do not try again this round + # do not try again settings.USER_ADDED = True