summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)