mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-29 06:35:28 -04:00
Dashboard: Fix handling of DOS line breaks
This commit is contained in:
parent
18c9b9bd1e
commit
7a55edd99b
1 changed files with 1 additions and 1 deletions
|
|
@ -678,7 +678,7 @@ def retrieve_report(url: str) -> Optional[str]:
|
|||
assert report_size < 3 * 1024 * 1024 # 3 MB
|
||||
|
||||
# download full report
|
||||
report_text = r.text.replace("\r", "")
|
||||
report_text = r.text.replace("\r\n", "\n").replace("\r", "\n")
|
||||
|
||||
# cache miss - store response
|
||||
if "ETag" in r.headers:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue