Skip to content

Commit b28d602

Browse files
committed
Reportlab made optional & updated log parsing
1 parent ba9cd4e commit b28d602

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

carbontracker/report.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def generate_report_from_log(log_file_path, output_path):
226226
if not REPORTLAB_AVAILABLE:
227227
raise ImportError(
228228
"The 'reportlab' package is required to generate PDF reports but is not installed. "
229-
"Please install it with: pip install reportlab"
229+
"Please install it with: pip install carbontracker[pdfreport]"
230230
)
231231

232232
# Read and parse log

0 commit comments

Comments
 (0)