tests: fix output capture

This commit is contained in:
missytake
2025-08-25 14:58:03 +02:00
parent ea9f56d6b3
commit e0040c1c52

View File

@@ -46,10 +46,10 @@ def init_cmd(args, out):
inipath = args.inipath
if args.inipath.exists():
if not args.recreate_ini:
out.green(f"[WARNING] Path exists, not modifying: {inipath}")
print(f"[WARNING] Path exists, not modifying: {inipath}")
return 1
else:
out.yellow(f"[WARNING] Force argument was provided, deleting config file: {inipath}")
print(f"[WARNING] Force argument was provided, deleting config file: {inipath}")
inipath.unlink()
return 0