Skip to content

Commit 20feedd

Browse files
committed
FIX: CI and README.md errors
1 parent 379ba30 commit 20feedd

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Ideal for people who want to quickly make a menu without writing their own compl
77
Includes: SelectorMenu, MultipleSelectorMenu, FunctionalMenu.
88

99
## Preview
10-
![Selector](https://github.com/BaggerFast/PyConsoleMenu/tree/main/assets/selector.gif)
10+
![Selector](https://github.com/BaggerFast/PyConsoleMenu/blob/main/assets/selector.gif?raw=true)
1111

1212
[See other](https://github.com/BaggerFast/PyConsoleMenu/tree/main/assets)
1313

@@ -20,7 +20,7 @@ $ pip install py_menu_console
2020
- using GitHub *(требуется [git](https://git-scm.com/downloads))*
2121
```
2222
$ git clone https://github.com/BaggerFast/PyConsoleMenu
23-
$ cd PyConsoleMemu
23+
$ cd PyConsoleMenu
2424
$ pip install -r requirements.txt
2525
```
2626

py_menu_console/menu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class MultiSelectorMenu(BaseMenu):
4141
def __init__(self, options: List[str], title: str = '', default_index: int = 0, indicator: str = "->",
4242
count: int = None) -> None:
4343

44-
count = len(options) if count <= 0 else count
44+
count = len(options) if not count else count
4545
if 1 <= count > len(options):
4646
raise ValueError('Count must be in [2, len(options)]')
4747

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
long_description='Contains: SelectorMenu, MultiSelectorMenu, FunctionalMenu',
1111
url='https://github.com/BaggerFast/PyConsoleMenu',
1212
downoload_url='?',
13-
keywords='?',
13+
keywords='python menu, console menu, menu, curses menu, python console menu',
1414
install_requires=[
1515
"widows-curses; sys_platform == 'win32'"
1616
],

0 commit comments

Comments
 (0)