summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-11-01 01:47:20 -0700
committerMark Wells <mark@freeside.biz>2016-11-01 01:48:02 -0700
commit4f21cddff8bce37e1953b6f9b1653f6e55086595 (patch)
tree514ec86b06c0a71940995734ce449ab76e4a279c /bin
parente14af5f80181a47c2cdd0981a62bcf183688535b (diff)
fix WA tax update script for some district numbers, #26265
Diffstat (limited to 'bin')
-rw-r--r--bin/wa_tax_rate_update1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/wa_tax_rate_update b/bin/wa_tax_rate_update
index 2d493db30..fbca9dd7d 100644
--- a/bin/wa_tax_rate_update
+++ b/bin/wa_tax_rate_update
@@ -78,6 +78,7 @@ my $total_skipped = 0;
while ( !$csv->eof ) {
my $line = $csv->getline_hr($fh);
my $district = $line->{Code} or next;
+ $district = sprintf('%04d', $district);
my $tax = sprintf('%.1f', $line->{Rate} * 100);
my $changed = 0;
my $skipped = 0;