summaryrefslogtreecommitdiff
path: root/internal/pipeline
diff options
context:
space:
mode:
Diffstat (limited to 'internal/pipeline')
-rw-r--r--internal/pipeline/pipeline.go4
-rw-r--r--internal/pipeline/put.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/internal/pipeline/pipeline.go b/internal/pipeline/pipeline.go
index f6598fd..280e4d2 100644
--- a/internal/pipeline/pipeline.go
+++ b/internal/pipeline/pipeline.go
@@ -640,8 +640,8 @@ func ProcessBook(msg bookpipeline.Qmsg, conn Pipeliner, process func(chan string
conn.Log("Failed to get logs ", err2)
logs = ""
}
- msg := fmt.Sprintf("To: %s\r\nFrom: %s\r\n" +
- "Subject: [bookpipeline] Error in wipeonly / preprocessing queue with %s\r\n\r\n" +
+ msg := fmt.Sprintf("To: %s\r\nFrom: %s\r\n"+
+ "Subject: [bookpipeline] Error in wipeonly / preprocessing queue with %s\r\n\r\n"+
" Fail message: %s\r\nFull log:\r\n%s\r\n",
ms.to, ms.from, bookname, err, logs)
host := fmt.Sprintf("%s:%s", ms.server, ms.port)
diff --git a/internal/pipeline/put.go b/internal/pipeline/put.go
index 8ada41f..4b38ea5 100644
--- a/internal/pipeline/put.go
+++ b/internal/pipeline/put.go
@@ -7,8 +7,8 @@ package pipeline
import (
"fmt"
"image"
- _ "image/png"
_ "image/jpeg"
+ _ "image/png"
"os"
"path/filepath"
)