Skip to content

Commit

Permalink
[LO extension] solves another error in AiRemote
Browse files Browse the repository at this point in the history
  • Loading branch information
FredKruse committed Jun 25, 2024
1 parent 378ae7a commit 88883f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ private String filterOutput (String out, String org, String instruction, boolean
String[] inst = instruction.split("[-.:!?]");
String[] parts = out.split("\r");
String firstPart = parts[0].trim();
if (parts.length > 1 && firstPart.endsWith(":") || firstPart.startsWith(inst[0].trim())) {
if (parts.length > 1 && (firstPart.endsWith(":") || firstPart.startsWith(inst[0].trim()))) {
out = parts[1].trim();
} else {
out = firstPart;
Expand Down

0 comments on commit 88883f6

Please sign in to comment.