mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-21 23:45:16 +00:00
Update ready.py
This commit is contained in:
1 parent
d37cb6cda4
commit
f932177ce8
1 file changed
+1
-1
@@ -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