getsenic/gatt-python

If dbus module not found, logs wrong installation command

SethFalco opened this issue · 0 comments

print("Please run: sudo apt-get install python3-dbus")

https://github.com/getsenic/gatt-python/blob/master/gatt/gatt_linux.py#L7

This command is specific to Debian based distributions, but for someone using an Alpine-based distribution, this log message isn't helpful.

On Alpine, we have to run sudo apk add py3-dbus

Instead of specifying a package manager specific command, it should have a more agnostic message like: "Please install Python 3 bindings for dbus."