From e6fda1269a06ba8cd819619a7ec6b37f55bb33ba Mon Sep 17 00:00:00 2001 From: Jason Kane Date: Mon, 29 Jul 2024 09:02:27 -0700 Subject: [PATCH] minor cleanup --- src/cnv/engines/base.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/cnv/engines/base.py b/src/cnv/engines/base.py index 04435a2..26842aa 100644 --- a/src/cnv/engines/base.py +++ b/src/cnv/engines/base.py @@ -116,7 +116,6 @@ def __init__(self, parent, rank, name, category, *args, **kwargs): super().__init__(parent, *args, **kwargs) self.rank = rank - self.parent = parent self.name = name self.category = category self.override = {} @@ -125,7 +124,7 @@ def __init__(self, parent, rank, name, category, *args, **kwargs): self.widget = {} self.set_config_meta(self.config) - self.draw_config_meta(self) + self.draw_config_meta() self.load_character(category=category, name=name) self.repopulate_options() @@ -301,7 +300,7 @@ def save_character(self, name, category): session.add(new_config_setting) session.commit() - def draw_config_meta(self, parent): + def draw_config_meta(self): # now we build it. Row 0 is taken by the engine selector, the rest is ours. # column sizing is handled upstream, we need to stay clean self.columnconfigure(0, minsize=125, weight=0, uniform="ttsengine")