mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-16 12:05:53 +00:00
Update ready.py
This commit is contained in:
@ -24,7 +24,7 @@ def isInMainThread():
|
||||
"""
|
||||
if '--noreload' in sys.argv or "gunicorn" in os.environ.get("SERVER_SOFTWARE", ""):
|
||||
return True
|
||||
|
||||
|
||||
print("IS_IN_MAIN_THREAD", os.environ.get('RUN_MAIN', None) == 'true')
|
||||
return True
|
||||
|
||||
|
Reference in New Issue
Block a user