Fix issue 78

sota_parsing_issue v0.1.5
Jean-Marc Meessen 3 years ago
parent ad8b7f97fa
commit 7ef81e72e8

@ -1,16 +1,21 @@
# What's new?
## v0.1.4
## v0.1.5
* Support POTA DIF output
* Fix "S2S contacts not recognized properly" (issue #78)
## Previous releases
### v0.1.4
* Support POTA ADIF output
* Tabs can be used as delimiter in the header section (issue #70)
* Frequency can now be specified up to 500Hz without truncation (issue #71)
* Enabled Homebrew distribution
## Previous releases
### v0.1.3
* Enable FLEcli to generate CSV chaser logs

@ -205,10 +205,10 @@ func ParseLine(inputStr string, previousLine LogLine) (logLine LogLine, errorMsg
}
// Is it a call sign ?
//FIXME: (don't remember what)
if validCallRegexp.MatchString(strings.ToUpper(element)) {
//If it starts with "#",it is a grid definition and not a call
if element[0] != '#' {
//If the potential callsign contains a dash, it is a Sota reference
if (element[0] != '#') && (!strings.Contains(element, "-")) {
callErrorMsg := ""
logLine.Call, callErrorMsg = ValidateCall(element)
errorMsg = errorMsg + callErrorMsg

Loading…
Cancel
Save