From 2012ee941cb19006f1807bf26650339470c60ca8 Mon Sep 17 00:00:00 2001 From: EKNr1 Date: Thu, 21 Nov 2024 17:34:58 +0100 Subject: [PATCH] Added type hint for open_files. --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 58a11bb..ef19760 100755 --- a/main.py +++ b/main.py @@ -2,7 +2,7 @@ import sys from utils import Utils -from file import FileActions +from file import FileActions, File from ui import GUI @@ -14,7 +14,7 @@ class BreadEditor: self.gui.connect_gui(self) - self.open_files = {} + self.open_files: dict[str, File] = {} def run(self): self.utils.popup_init()