Correct typo on wrong variable used; remove errant print.
This commit is contained in:
parent
d3395dba78
commit
381dff4cb0
1 changed files with 1 additions and 2 deletions
|
@ -79,7 +79,7 @@ sub StartRunningBeanQuery {
|
||||||
$currentFormat = $format;
|
$currentFormat = $format;
|
||||||
|
|
||||||
my @cmd = ($BEANCOUNT_QUERY_CMD);
|
my @cmd = ($BEANCOUNT_QUERY_CMD);
|
||||||
push(@cmd, '-f', $query{format}) if defined $query{format};
|
push(@cmd, '-f', $format) if defined $format;
|
||||||
push(@cmd, $LOAD_FILE);
|
push(@cmd, $LOAD_FILE);
|
||||||
$runningBeanQuery = start \@cmd, '<pty<', \$rbcIn, '>pty>', \$rbcOut, '2>', \$rbcErr;
|
$runningBeanQuery = start \@cmd, '<pty<', \$rbcIn, '>pty>', \$rbcOut, '2>', \$rbcErr;
|
||||||
pump $runningBeanQuery until $rbcOut =~ /^\s*beancount\s*\>\s*/m;
|
pump $runningBeanQuery until $rbcOut =~ /^\s*beancount\s*\>\s*/m;
|
||||||
|
@ -151,7 +151,6 @@ while (1) {
|
||||||
$seenSeperator = 1;
|
$seenSeperator = 1;
|
||||||
} elsif ($currentFormat eq 'text' and $line =~ /^\s*\-+\s*$/) {
|
} elsif ($currentFormat eq 'text' and $line =~ /^\s*\-+\s*$/) {
|
||||||
$seenSeperator = 1;
|
$seenSeperator = 1;
|
||||||
print "$prevLine\n";
|
|
||||||
}
|
}
|
||||||
$prevLine = $line;
|
$prevLine = $line;
|
||||||
next;
|
next;
|
||||||
|
|
Loading…
Reference in a new issue