mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-05 09:55:28 +00:00
Add a bunch more debug info
This commit is contained in:
1 parent
af4b88c029
commit
aa91f460b4
1 file changed
+7
@@ -59,6 +59,13 @@ def get_config_file(create=True) -> Path:
|
|||||||
def load_config_data() -> map:
|
def load_config_data() -> map:
|
||||||
"""Load configuration data from the config file."""
|
"""Load configuration data from the config file."""
|
||||||
|
|
||||||
|
import sys
|
||||||
|
|
||||||
|
print("load_config_data()")
|
||||||
|
print("- cwd:", os.getcwd())
|
||||||
|
print("- exe:", sys.executable)
|
||||||
|
print("- path:", sys.path)
|
||||||
|
|
||||||
import yaml
|
import yaml
|
||||||
|
|
||||||
cfg_file = get_config_file()
|
cfg_file = get_config_file()
|
||||||
|
|||||||
Reference in new issue
Block a user