mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +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