mirror of
https://github.com/Dadido3/noita-mapcap.git
synced 2024-11-18 17:17:31 +00:00
Fix output image parameter
This commit is contained in:
parent
95c53b96a9
commit
13373028cc
@ -258,8 +258,8 @@ func main() {
|
|||||||
outputImage = tempImage
|
outputImage = tempImage
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Printf("Creating output file \"%v\"", "output.png")
|
log.Printf("Creating output file \"%v\"", *flagOutputPath)
|
||||||
f, err := os.Create("output.png")
|
f, err := os.Create(*flagOutputPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Panic(err)
|
log.Panic(err)
|
||||||
}
|
}
|
||||||
@ -277,6 +277,6 @@ func main() {
|
|||||||
if err := f.Close(); err != nil {
|
if err := f.Close(); err != nil {
|
||||||
log.Panic(err)
|
log.Panic(err)
|
||||||
}
|
}
|
||||||
log.Printf("Created output file \"%v\"", "output.png")
|
log.Printf("Created output file \"%v\"", *flagOutputPath)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user