Skip to content

Commit

Permalink
fix: optional excel export
Browse files Browse the repository at this point in the history
  • Loading branch information
RahulARanger committed Nov 10, 2024
1 parent c6ba96d commit 4996bed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions handshake/services/SchedularService/start.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,12 +210,11 @@ async def add_export_jobs():
)
).values_list("testID", flat=True)

if not excel_export:
if test_ids_to_pick and not excel_export:
await warn_about_test_run(
test_ids_to_pick,
"Excel Export due to non-availability of the library, please proceed with the pip install "
"handshakes[excel-export] to download the openpyxl which is required for the excel export",
about="excel_export",
)
return

Expand Down

0 comments on commit 4996bed

Please sign in to comment.