From 91c4999239f9dbc99bf71c3f00999e72f207a9c7 Mon Sep 17 00:00:00 2001 From: "Andrew Speciale (@liquidz00)" Date: Fri, 28 Jun 2024 14:46:27 -0400 Subject: [PATCH] Fix formatting --- src/model/pdf_report.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/model/pdf_report.py b/src/model/pdf_report.py index 0e670e9..ffe68f5 100644 --- a/src/model/pdf_report.py +++ b/src/model/pdf_report.py @@ -12,7 +12,7 @@ class PDFReport(FPDF): def __init__( self, - config_manager: ConfigManager, + config: ConfigManager, orientation="L", unit="mm", format="A4", @@ -20,7 +20,7 @@ def __init__( ): super().__init__(orientation=orientation, unit=unit, format=format) self.date_format = date_format - self.config = config_manager.get_ui_config() + self.config = config.get_ui_config() self.add_font( self.config.get("FONT_NAME"), "", self.config.get("FONT_REGULAR_PATH")