summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.name>2019-12-16 16:32:13 +0000
committerNick White <git@njw.name>2019-12-16 16:32:13 +0000
commit353f5c31efca61e60b5ea5a30b77c8a649cce62b (patch)
tree1f91a807d1f63fe2b71e5cd018e7bbe7e51324b8
parentd4c42f851cb2254a27940721de3e3ef2d73f2910 (diff)
Fix error message syntax in getpipelinebook
-rw-r--r--cmd/getpipelinebook/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/getpipelinebook/main.go b/cmd/getpipelinebook/main.go
index be80b41..d0f2e3b 100644
--- a/cmd/getpipelinebook/main.go
+++ b/cmd/getpipelinebook/main.go
@@ -121,13 +121,13 @@ func main() {
verboselog.Println("Downloading file", fn)
err = conn.Download(conn.WIPStorageId(), fn, fn)
if err != nil {
- log.Println("Failed to download %s: %s", fn, err)
+ log.Printf("Failed to download %s: %s\n", fn, err)
}
fn = filepath.Join(bookname, bookname + ".binarised.pdf")
verboselog.Println("Downloading file", fn)
err = conn.Download(conn.WIPStorageId(), fn, fn)
if err != nil {
- log.Println("Failed to download %s: %s", fn, err)
+ log.Printf("Failed to download %s: %s\n", fn, err)
}
analyses := []string{"conf", "graph.png"}