Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit 372e066

Browse files
authored
Merge pull request #125 from sindrig/uppercase-in-player
Bugfix: uppercase in player must work
2 parents c1a5056 + 27d6270 commit 372e066

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

spoppy/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
def get_version():
1313
return '1.6.0'
1414

15+
1516
if click:
1617
@click.command()
1718
@click.argument('username', required=False)

spoppy/players.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ def get_response(self):
188188
char = single_char_with_timeout(timeout=1.5)
189189
if char:
190190
logger.debug('Got some char: %s' % char)
191+
char = char.lower()
191192
response = self.actions.get(char, NOOP)
192193
if response != NOOP:
193194
if callable(response):

0 commit comments

Comments
 (0)