diff --git a/setup.cfg b/setup.cfg index 8f730f6..15f8967 100644 --- a/setup.cfg +++ b/setup.cfg @@ -32,7 +32,7 @@ install_requires = click click-log cloup - emoji + emoji<2.0.0 inotify-simple jinja2 networkx diff --git a/streamdeckfs/commands/inspect.py b/streamdeckfs/commands/inspect.py index 1892cf5..23e3bbd 100644 --- a/streamdeckfs/commands/inspect.py +++ b/streamdeckfs/commands/inspect.py @@ -25,11 +25,11 @@ def inspect(): for deck in decks.values(): info = deck.info click.echo(f"* Deck {info['serial']}{'' if deck.info['connected'] else ' (already connected elsewhere)'}") - click.echo(f"\t - Type: {info['type']}") + click.echo(f"\t - Type: {info['model']}") click.echo(f"\t - ID: {info['id']}") click.echo(f"\t - Serial: {info['serial']}") click.echo(f"\t - Firmware Version: {info['firmware']}") - click.echo(f"\t - Key Count: {info['nb_keys']} (in a {info['rows']}x{info['cols']} grid)") + click.echo(f"\t - Key Count: {info['nb_keys']} (in a {info['nb_rows']}x{info['nb_cols']} grid)") click.echo(f"\t - Key Images: {info['key_width']}x{info['key_height']} pixels, {info['format']} format") if deck.info["connected"]: