forked from M-Labs/thermostat
finish IP -> HOST
This commit is contained in:
parent
425dee173b
commit
2fd852e171
@ -134,8 +134,8 @@ class MainWindow(QtWidgets.QMainWindow):
|
||||
)
|
||||
|
||||
if args.connect:
|
||||
if args.IP:
|
||||
self.host_set_line.setText(args.IP)
|
||||
if args.HOST:
|
||||
self.host_set_line.setText(args.HOST)
|
||||
if args.PORT:
|
||||
self.port_set_spin.setValue(int(args.PORT))
|
||||
self.connect_btn.click()
|
||||
|
Loading…
Reference in New Issue
Block a user