Correct typo in var name

This commit is contained in:
Sebastian Lohff 2019-08-15 15:10:07 +02:00
parent 58455be58a
commit 206dcc46df
1 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ class CliMenuTheme:
class CliMenu: class CliMenu:
default_stye = CliMenuTheme.BASIC default_style = CliMenuTheme.BASIC
default_cursor = CliMenuCursor.TRIANGLE default_cursor = CliMenuCursor.TRIANGLE
def __init__(self, options=None, header=None, cursor=None, style=None, def __init__(self, options=None, header=None, cursor=None, style=None,
@ -91,7 +91,7 @@ class CliMenu:
self._style = style self._style = style
if not self._style: if not self._style:
self._style = self.default_stye self._style = self.default_style
if header: if header:
self.add_header(header, indent=False) self.add_header(header, indent=False)