1
0
mirror of https://github.com/craigerl/aprsd.git synced 2025-09-05 14:47:53 -04:00

Fixed --quiet option

This patch fixes the --quiet option for both send-message
and server commands.   Don't write anything to STDOUT.
This commit is contained in:
Hemna 2021-01-12 11:26:12 -05:00
parent 90c4c6c59d
commit f022a3e421

View File

@ -249,8 +249,8 @@ def send_message(
"""Send a message to a callsign via APRS_IS."""
global got_ack, got_response
if not quiet:
click.echo("{} {} {} {}".format(aprs_login, aprs_password, tocallsign, command))
click.echo("Load config")
config = utils.parse_config(config_file)
if not aprs_login:
@ -382,6 +382,7 @@ def server(loglevel, quiet, disable_validation, config_file, flush):
event = threading.Event()
signal.signal(signal.SIGINT, signal_handler)
if not quiet:
click.echo("Load config")
config = utils.parse_config(config_file)