summaryrefslogtreecommitdiff
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:47:20 -0700
commit9367a73317b642a2f3a00bc80c1c1401f5be7b12 (patch)
treeb07c8dd5b69a2a9fc7da6f7126e0f52704f90b76
parent578a588aaaeb3f416bfdbc2e7bac816669a49f47 (diff)
fix WA tax update script for some district numbers, #26265
-rwxr-xr-xbin/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 2d493db..fbca9dd 100755
--- 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;