A tool for archiving & converting scans of postcards, and information about them.

fix: :bug: Prevent segfault extracting empty lat/long from XMP

+5 -1
+2 -1
.vscode/settings.json
··· 1 1 { 2 2 "conventionalCommits.scopes": [ 3 - "border-detector" 3 + "border-detector", 4 + "postoffice" 4 5 ] 5 6 }
+3
formats/xmp/decode.go
··· 151 151 } 152 152 153 153 func scanDegrees(str string) *float64 { 154 + if len(str) == 0 { 155 + return nil 156 + } 154 157 var deg int 155 158 var min float64 156 159 dir := str[len(str)-1:]