aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol/ArmoliProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar/protocol/ArmoliProtocolDecoder.java')
-rw-r--r--src/main/java/org/traccar/protocol/ArmoliProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/ArmoliProtocolDecoder.java b/src/main/java/org/traccar/protocol/ArmoliProtocolDecoder.java
index b1140d79c..400e4ad89 100644
--- a/src/main/java/org/traccar/protocol/ArmoliProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/ArmoliProtocolDecoder.java
@@ -78,7 +78,7 @@ public class ArmoliProtocolDecoder extends BaseProtocolDecoder {
getLastLocation(position, null);
position.set(
Position.KEY_RESULT,
- sentence.substring(sentence.indexOf(',') + 1, sentence.length() - 2));
+ sentence.substring(sentence.indexOf(',') + 1, sentence.length() - 1));
return position;
}
} else if (channel != null && (type == 'Q' || type == 'L')) {