Skip to content

Commit

Permalink
fix class name for convention
Browse files Browse the repository at this point in the history
  • Loading branch information
outscale-mal committed Aug 22, 2023
1 parent a522243 commit 8e9e952
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions osc_tui/createVpcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ def create():
self.add_widget(oscscreen.ButtonPress, name="EXIT").whenPressed = back


class createSubnet(oscscreen.FormBaseNew):
class CreateSubnet(oscscreen.FormBaseNew):
def __init__(self, *args, **keywords):
super().__init__(*args, **keywords)

def reload(self):
main.kill_threads()
self.parentApp.addForm(
"CREATE_SUBNET",
createSubnet,
CreateSubnet,
name="osc-tui")
self.parentApp.switchForm("CREATE_SUBNET")

Expand Down
2 changes: 1 addition & 1 deletion osc_tui/mainForm.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def actionHighlighted(self, act_on_this, key_press):
if act_on_this == 'Create new':
self.form.parentApp.addForm(
"CREATE_SUBNET",
createVpcs.createSubnet,
createVpcs.CreateSubnet,
name="osc-tui")
self.form.parentApp.switchForm("CREATE_SUBNET")
return
Expand Down

0 comments on commit 8e9e952

Please sign in to comment.