From fbaa5d6ee21becbd9b561493aa5283752102de41 Mon Sep 17 00:00:00 2001 From: vova Date: Thu, 8 Jun 2023 23:44:42 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB(?= =?UTF-8?q?=D0=B0)=20=D0=BD=D0=B0=20'main.py'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 19ed930..6a851d9 100644 --- a/main.py +++ b/main.py @@ -90,7 +90,7 @@ class AppWindow(QMainWindow): self.ui.pushButton_send_post.clicked.connect(self.send_message) # привязываем функцию к кнопке Отправить self.ui.pushButton_send_get.clicked.connect(self.get_value_from_macket) # привязываем функцию к кнопке Отправить GET запрос - # For convinience store RGB LED strip in list + # For convenience store RGB LED strip in list self.ui.led_array = [getattr(self.ui, f"leds{i}") for i in range(1,9)] # Store RGB LEDs default values @@ -371,7 +371,7 @@ class AppWindow(QMainWindow): data = json.loads(res) # преобразование данных из джейсон - self.ui.textEdit_message.append(json.dumps(data, separators=(',', ':'))) # вывод значение в line_edit + self.ui.textEdit_message.append(json.dumps(data, separators=(',', ':'))) # вывод значения в line_edit # Update lamps for i in range(1,4):