Skip to content

Commit

Permalink
Fix output image parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Dadido3 committed Dec 21, 2019
1 parent 95c53b9 commit 1337302
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/stitch/stitch.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,8 @@ func main() {
outputImage = tempImage
}

log.Printf("Creating output file \"%v\"", "output.png")
f, err := os.Create("output.png")
log.Printf("Creating output file \"%v\"", *flagOutputPath)
f, err := os.Create(*flagOutputPath)
if err != nil {
log.Panic(err)
}
Expand All @@ -277,6 +277,6 @@ func main() {
if err := f.Close(); err != nil {
log.Panic(err)
}
log.Printf("Created output file \"%v\"", "output.png")
log.Printf("Created output file \"%v\"", *flagOutputPath)

}

0 comments on commit 1337302

Please sign in to comment.