fix download log newlines

This commit is contained in:
Damien Elmes 2020-01-19 16:46:24 +10:00
parent 02145c7078
commit b6ed84998d

View File

@ -855,7 +855,7 @@ def download_addon(client: HttpClient, id: int) -> Union[DownloadOk, DownloadErr
def download_log_to_html(log: List[DownloadLogEntry]) -> str:
return "\n".join(map(describe_log_entry, log))
return "<br>".join(map(describe_log_entry, log))
def describe_log_entry(id_and_entry: DownloadLogEntry) -> str: