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