mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-13 18:45:40 +00:00
Remove debug print
This commit is contained in:
@ -18,14 +18,10 @@ class PartConfig(AppConfig):
|
|||||||
def ready(self):
|
def ready(self):
|
||||||
"""This function is called whenever the Part app is loaded."""
|
"""This function is called whenever the Part app is loaded."""
|
||||||
# skip loading if plugins are not loaded or we run in a background thread
|
# skip loading if plugins are not loaded or we run in a background thread
|
||||||
print("LOAD_BEFORE")
|
|
||||||
if not isPluginRegistryLoaded() or not isInMainThread():
|
if not isPluginRegistryLoaded() or not isInMainThread():
|
||||||
return
|
return
|
||||||
|
|
||||||
print("LOAD_AFTER")
|
|
||||||
|
|
||||||
if canAppAccessDatabase():
|
if canAppAccessDatabase():
|
||||||
print("LOAD_DB_ACCESS")
|
|
||||||
self.update_trackable_status()
|
self.update_trackable_status()
|
||||||
self.reset_part_pricing_flags()
|
self.reset_part_pricing_flags()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user