Fix log bug
Fix log bug, exposure time is now float and not string. Signed-off-by: Kjeldgaard <Kjeldgaard@users.noreply.github.com>
This commit is contained in:
parent
f946500eaa
commit
3bde799fb3
|
@ -65,7 +65,7 @@ func (p *externalExifParser) ParseExif(media *models.Media) (returnExif *models.
|
||||||
// Get exposure time
|
// Get exposure time
|
||||||
exposureTime, err := fileInfo.GetFloat("ExposureTime")
|
exposureTime, err := fileInfo.GetFloat("ExposureTime")
|
||||||
if err == nil {
|
if err == nil {
|
||||||
log.Printf("Exposure time: %s", exposureTime)
|
log.Printf("Exposure time: %f", exposureTime)
|
||||||
newExif.Exposure = &exposureTime
|
newExif.Exposure = &exposureTime
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue