Skip to content

Commit

Permalink
use first port found
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 committed Jun 28, 2024
1 parent 4ec1c72 commit 39f1386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp_flasher/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def reload_ports(self):
ports = get_port_list()
if ports:
self.port_combobox.addItems(ports)
self._port = ports
self._port = ports[0]
else:
self.port_combobox.addItem("")

Expand Down

0 comments on commit 39f1386

Please sign in to comment.