rename 'cleare_console' to 'clear_console'

Hi!
Came across your reddit comment and was intrigued. While skimming the code I think I've found a bug.

On `line 100` in `music_kraken_cli.py` the `cli` function looks like this:

```python
def cli(start_at: int = 0, only_lyrics: bool = False, cleare_console: bool = True):
    if clear_console:
        clear_console()
```

the argument being passed in has an additional 'e' in it. The if statement below now just checks if the function 'clear_console' exists opposed to checking the argument.
This commit is contained in:
Feyo Korenhof 2022-11-23 23:47:01 +01:00 committed by GitHub
parent 42fc9c5205
commit da413356f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,7 @@ def get_genre():
return genre
def cli(start_at: int = 0, only_lyrics: bool = False, cleare_console: bool = True):
def cli(start_at: int = 0, only_lyrics: bool = False, clear_console: bool = True):
if clear_console:
clear_console()