Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-kane committed Jul 29, 2024
1 parent 41a686a commit e6fda12
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/cnv/engines/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand All @@ -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()
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit e6fda12

Please sign in to comment.