From 5ca0f8804b67165b1f22e700e367a9316de7a85b Mon Sep 17 00:00:00 2001 From: = <=> Date: Thu, 5 Oct 2023 14:59:44 -0400 Subject: [PATCH] Unified FormatterUi --- IL Formatter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IL Formatter.py b/IL Formatter.py index 2b65faf..a7f470c 100644 --- a/IL Formatter.py +++ b/IL Formatter.py @@ -312,8 +312,8 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow): #FIXME return None bad_cols: list[str] = config['COLS'] - successful_new: dict[str:DataFrame] = [] - for id, report_file in [self.custFile, self.finFile]: + successful_new: dict[str:DataFrame] = {} + for id, report_file in enumerate([self.custFile, self.finFile]): try: with open(report_file) as file: report = file.read()