Skip to content

Commit

Permalink
FIX: CI and README.md errors
Browse files Browse the repository at this point in the history
  • Loading branch information
BaggerFast committed Jul 15, 2022
1 parent 379ba30 commit 20feedd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Ideal for people who want to quickly make a menu without writing their own compl
Includes: SelectorMenu, MultipleSelectorMenu, FunctionalMenu.

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

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

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

Expand Down
2 changes: 1 addition & 1 deletion py_menu_console/menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class MultiSelectorMenu(BaseMenu):
def __init__(self, options: List[str], title: str = '', default_index: int = 0, indicator: str = "->",
count: int = None) -> None:

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

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
long_description='Contains: SelectorMenu, MultiSelectorMenu, FunctionalMenu',
url='https://github.com/BaggerFast/PyConsoleMenu',
downoload_url='?',
keywords='?',
keywords='python menu, console menu, menu, curses menu, python console menu',
install_requires=[
"widows-curses; sys_platform == 'win32'"
],
Expand Down

0 comments on commit 20feedd

Please sign in to comment.