Skip to content

Commit 355bd7c

Browse files
committed
use list[str] for args
1 parent dfe3245 commit 355bd7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proveskit_ground_station/proveskit_ground_station.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def send_receive(self):
4949
self._log.warning("Invalid command selection. Please try again.")
5050
return
5151

52-
message = {
52+
message: dict[str, object] = {
5353
"password": self._config.super_secret_code,
5454
}
5555

@@ -58,7 +58,7 @@ def send_receive(self):
5858
elif cmd_selection == "2":
5959
message["command"] = self._cdh.command_change_radio_modulation
6060
modulation = input("Enter new radio modulation [FSK | LoRa]: ")
61-
message["args"] = f"[{modulation}]"
61+
message["args"] = [{modulation}]
6262
elif cmd_selection == "3":
6363
message["command"] = self._cdh.command_send_joke
6464

0 commit comments

Comments
 (0)