Skip to content

Commit

Permalink
Merge pull request #80 from hnez/pyproject-toml-fallout
Browse files Browse the repository at this point in the history
pyproject.toml: fix fallout from the migration
  • Loading branch information
hnez authored May 31, 2024
2 parents 5b51d45 + e0b3d57 commit 35624f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 0 additions & 4 deletions REQUIREMENTS.qa.txt

This file was deleted.

6 changes: 4 additions & 2 deletions usbsdmux/mqtthelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def _gather_data(ctl, sg, mode):
def publish_info(ctl, config, sg, mode):
"""
Publish info to mqtt server, if mqtt is enabled.
This requires installing REQUIREMENTS.mqtt.txt.
This requires installing paho-mqtt.
"""

if not config.mqtt_enabled:
Expand All @@ -146,7 +146,9 @@ def publish_info(ctl, config, sg, mode):
except ImportError:
print(
"Sending data to an mqtt server requires paho-mqtt",
"Please install REQUIREMENTS.mqtt.txt",
"Please install it, e.g. by installing usbsdmux via:",
"",
' python3 -m pip install "usbsdmux[mqtt]"',
sep="\n",
file=sys.stderr,
)
Expand Down

0 comments on commit 35624f2

Please sign in to comment.