summaryrefslogtreecommitdiff
path: root/cmd/getsamplepages
diff options
context:
space:
mode:
authorNick White <git@njw.name>2021-07-13 11:54:00 +0100
committerNick White <git@njw.name>2021-07-13 11:54:00 +0100
commit45b0c3ed61b1a7b7d18090f483c5d9ff9cddec7b (patch)
tree13de0f1a0ac47c38e172e4082e6345a4c511e1bf /cmd/getsamplepages
parente22c16ca84163636d674fb0935156f466169e1a3 (diff)
gofmt
Diffstat (limited to 'cmd/getsamplepages')
-rw-r--r--cmd/getsamplepages/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/getsamplepages/main.go b/cmd/getsamplepages/main.go
index 8e35055..cb32700 100644
--- a/cmd/getsamplepages/main.go
+++ b/cmd/getsamplepages/main.go
@@ -74,7 +74,7 @@ func main() {
err = conn.Download(conn.WIPStorageId(), p+"best", name+"best")
if err != nil {
}
- b, err := ioutil.ReadFile(name+"best")
+ b, err := ioutil.ReadFile(name + "best")
if err != nil {
log.Fatalf("Failed to read file %s\n", name+"best")
}
@@ -85,7 +85,7 @@ func main() {
}
pg := strings.TrimSuffix(lines[0], ".hocr")
- err = os.Remove(name+"best")
+ err = os.Remove(name + "best")
if err != nil {
log.Fatalf("Failed to remove temporary best file for %s", name)
}