Skip to content

Commit ca780bb

Browse files
committed
add debug output to config path
1 parent e72babd commit ca780bb

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

pydeej.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,9 +312,14 @@ def get_config_path(default):
312312
bundle_dir = Path(sys._MEIPASS)
313313
bundled = bundle_dir / p.name
314314
local = exe_dir / p.name
315+
print(f"[DEBUG] exe_dir: {exe_dir}")
316+
print(f"[DEBUG] bundle_dir: {bundle_dir}")
317+
print(f"[DEBUG] bundled config exists: {bundled.exists()}")
318+
print(f"[DEBUG] local config exists: {local.exists()}")
315319
if local.exists():
316320
return str(local)
317321
if bundled.exists():
322+
print(f"[DEBUG] Copying bundled config to {local}")
318323
local.write_bytes(bundled.read_bytes())
319324
return str(local)
320325
elif not p.is_absolute():

0 commit comments

Comments
 (0)