Commit 4731bf6a authored by vaisakh.nair's avatar vaisakh.nair 🎯

code clean

parent e2f1d4e9
...@@ -67,7 +67,7 @@ class DailyReportGenerator: ...@@ -67,7 +67,7 @@ class DailyReportGenerator:
def create_excel_report(self): def create_excel_report(self):
report_file = 'daily_report.xlsx' report_file = 'daily_report.xlsx'
...@@ -126,8 +126,7 @@ class DailyReportGenerator: ...@@ -126,8 +126,7 @@ class DailyReportGenerator:
# Fill the packer counts in column L # Fill the packer counts in column L
for packer_name, count in packer_counts.items(): for packer_name, count in packer_counts.items():
packer_row = 9 + packer_names.index(packer_name) * 3 packer_row = 9 + packer_names.index(packer_name) * 3
print('packer_row ------------- ',packer_row , 'packer_names.index(packer_name)--------- ',packer_names.index(packer_name))
sheet[f'F{packer_row}'] = count sheet[f'F{packer_row}'] = count
# Save the report file # Save the report file
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment