diff --git a/tnc/data_handler.py b/tnc/data_handler.py index c076a074..92d8b5cd 100644 --- a/tnc/data_handler.py +++ b/tnc/data_handler.py @@ -386,7 +386,7 @@ class DATA: while static.TRANSMITTING: time.sleep(0.01) - def send_data_to_socket_queue(self, /, **kwargs): + def send_data_to_socket_queue(self, /, **jsondata): """ Send information to the UI via JSON and the sock.SOCKET_QUEUE. @@ -403,7 +403,6 @@ class DATA: data=base64_data, ) """ - jsondata = kwargs self.log.debug("[TNC] send_data_to_socket_queue:", jsondata=jsondata) json_data_out = json.dumps(jsondata) sock.SOCKET_QUEUE.put(json_data_out) diff --git a/tnc/main.py b/tnc/main.py index 4eec6e86..6ca65012 100755 --- a/tnc/main.py +++ b/tnc/main.py @@ -185,9 +185,9 @@ if __name__ == "__main__": ) PARSER.add_argument( "--500hz", - dest="low_bandwith_mode", + dest="low_bandwidth_mode", action="store_true", - help="Enable low bandwith mode ( 500 Hz only )", + help="Enable low bandwidth mode ( 500 Hz only )", ) PARSER.add_argument( "--fsk",