From 393b5e34b804d6b1f4f7fe1f384e9396029a9cdc Mon Sep 17 00:00:00 2001 From: BlueFox Date: Sat, 17 May 2025 02:24:00 +0200 Subject: [PATCH] [tasmotonov.py] Small improvement in handling input strings --- tasmotonov.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmotonov.py b/tasmotonov.py index da4c530..cba348d 100755 --- a/tasmotonov.py +++ b/tasmotonov.py @@ -126,7 +126,7 @@ if __name__ == '__main__': tasmota_addresses_cleaned = [] for address in tasmota_addresses: if address != '': - tasmota_addresses_cleaned.append(address.replace('\n', '').replace(';', '').replace(',', '')) + tasmota_addresses_cleaned.append(address.replace('\n', '').replace(';', '').replace(',', '').replace(' ', '')) # now check data for consistency and integrity (is it really an ip address or a domain name?) tasmota_addresses_validated = []