Fix Bug when strings where shorter than 25 characters on logger.writeline

Fixed CLI output
This commit is contained in:
2023-06-01 22:27:37 +02:00
parent e977bed5a5
commit 0d3799e00d
3 changed files with 4 additions and 4 deletions

View File

@ -79,7 +79,7 @@ public abstract class TrangaTask
public override string ToString()
{
return $"{task}, {lastExecuted}, {reoccurrence}, {state} {(connectorName is not null ? $", {connectorName}" : "" )} {(publication is not null ? $", {publication?.sortName}": "")}";
return $"{task}, {lastExecuted}, {reoccurrence}, {state} {(connectorName is not null ? $", {connectorName}" : "" )} {(publication is not null ? $", {progress:00.00}%" : "")} {(publication is not null ? $", {publication?.sortName}" : "")}";
}
public class TrangaTaskJsonConverter : JsonConverter