From 7745a5d3501a60eeb6291e9a7738bf807143058f Mon Sep 17 00:00:00 2001 From: Pascal <engelerp@phys.ethz.ch> Date: Tue, 27 Feb 2024 11:05:08 +0100 Subject: [PATCH] Commenting out --- drivers/drivers/pqwsw2.py | 4 ++-- drivers/drivers/rl20001.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/drivers/pqwsw2.py b/drivers/drivers/pqwsw2.py index e39a0ee..9d6b708 100644 --- a/drivers/drivers/pqwsw2.py +++ b/drivers/drivers/pqwsw2.py @@ -8,10 +8,10 @@ class PQWSW2: url = f'http://{self.device_ip}/report' try: response = requests.get(url) - print("Smart Switch Connected Successfully") + #print("Smart Switch Connected Successfully") self.connected = True except: - print(f"Device at {device_ip} is not available. Are you connected to the PQWSW2 Wlan?") + #print(f"Device at {device_ip} is not available. Are you connected to the PQWSW2 Wlan?") self.connected = False def connect(self, device_ip): diff --git a/drivers/drivers/rl20001.py b/drivers/drivers/rl20001.py index d47393d..b15cfd5 100644 --- a/drivers/drivers/rl20001.py +++ b/drivers/drivers/rl20001.py @@ -6,11 +6,11 @@ class RL20001: self.port = port try: self.ser = serial.Serial(self.port, baudrate=9600, timeout=2) - print("Numato USB Relay Connected Successfully") + #print("Numato USB Relay Connected Successfully") self.connected = True except: self.ser = None - print(f"Failed to open Serial Port {self.port}.") + #print(f"Failed to open Serial Port {self.port}.") self.connected = False def connect(self, port): -- GitLab