Skip to content

Commit

Permalink
updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mukundesh committed Mar 20, 2024
1 parent ff17ce6 commit 6570d82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion import/src/import_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def get_urls(code):
def write_readme(lines):
header = ['Num', 'Department Name', 'Start Date', 'Last Date', \
'# Marathi Orders', '# Translated Orders', 'Starting Order', 'Last Order']
total_orders, total_translated = sum(int(ln[2]) for ln in lines), sum(int(ln[3]) for ln in lines)
total_orders, total_translated = sum(int(ln[4]) for ln in lines), sum(int(ln[5]) for ln in lines)
insert_lines = ['## Data Details', '']
insert_lines += [f'| {" | ".join(header)} |']
insert_lines += [f'| {" | ".join(["-" * len(h) for h in header])} |']
Expand Down

0 comments on commit 6570d82

Please sign in to comment.