summaryrefslogtreecommitdiff
path: root/cmd/rescribe
diff options
context:
space:
mode:
authorNick White <git@njw.name>2022-11-17 22:09:39 +0000
committerNick White <git@njw.name>2022-11-17 22:09:39 +0000
commit3b75641d7bb86395574544507c84293e2c991011 (patch)
tree782c68871618435fe9b1912373c54746b2b44479 /cmd/rescribe
parent84454b513f8b356c95b08336d1f75043b863870e (diff)
rescribe: gofmt
Diffstat (limited to 'cmd/rescribe')
-rw-r--r--cmd/rescribe/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/rescribe/main.go b/cmd/rescribe/main.go
index 2c37dc5..b33a66c 100644
--- a/cmd/rescribe/main.go
+++ b/cmd/rescribe/main.go
@@ -463,7 +463,7 @@ func rmIfNotImage(f string) error {
t, err := tiff.Decode(r)
if err == nil {
b := strings.TrimSuffix(f, ".jpg")
- n, err := os.Create(b+".png")
+ n, err := os.Create(b + ".png")
defer n.Close()
if err != nil {
return fmt.Errorf("Failed to create file to store new png %s from tiff %s: %v\n", b+".png", f, err)