[tasmotonov.py] Small improvement in handling input strings

This commit is contained in:
BlueFox 2025-05-17 02:24:00 +02:00
parent b088ad2cdb
commit 393b5e34b8

View File

@ -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 = []