MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / _write_logs

Function _write_logs

demo/app.py:67–73  ·  view source on GitHub ↗
(log_path: Path, logs)

Source from the content-addressed store, hash-verified

65 return datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')
66
67def _write_logs(log_path: Path, logs):
68 try:
69 log_path.parent.mkdir(parents=True, exist_ok=True)
70 with open(log_path, "w", encoding="utf-8") as f:
71 f.write("\n".join(logs))
72 except Exception:
73 pass
74
75def _find_ui_header_logos(root: Path):
76 """Return list of Paths for UI header logos in order camel → tvg → waterloo.

Callers 4

debug_compile_output_zipFunction · 0.85
run_pipelineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected