Skip to content

Commit 5c7290d

Browse files
authored
Merge pull request #131 from knikolla/fix/bool
Correctly convert nerc-rates value to boolean
2 parents c3e53ae + ea1d78c commit 5c7290d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

process_report/process_report.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555

5656
PI_S3_FILEPATH = "PIs/PI.csv"
5757

58-
5958
ALIAS_S3_FILEPATH = "PIs/alias.csv"
6059

6160

@@ -242,8 +241,11 @@ def main():
242241
invoice_month,
243242
data=validate_billable_pi_proc.data,
244243
old_pi_filepath=old_pi_file,
245-
limit_new_pi_credit_to_partners=rates_info.get_value_at(
246-
"Limit New PI Credit to MGHPCC Partners", invoice_month
244+
limit_new_pi_credit_to_partners=(
245+
rates_info.get_value_at(
246+
"Limit New PI Credit to MGHPCC Partners", invoice_month
247+
)
248+
== "True",
247249
),
248250
)
249251
new_pi_credit_proc.process()

0 commit comments

Comments
 (0)