On vire les lignes vides.

This commit is contained in:
Pierre-Elliott Bécue 2015-05-10 15:20:26 +02:00
parent 6fc66e7cd6
commit b849fe8444

View file

@ -39,7 +39,7 @@ net.ipv6.conf.all.accept_redirects = 0
net.ipv6.conf.all.use_tempaddr = 0
"""
Probe_Ifs = metadata.Probes["mac"].split('\n')
Probe_Ifs = metadata.Probes["mac"].strip().split('\n')
Ifs = [Probe_Ifs[i] for i in range(len(Probe_Ifs)) if i % 2 == 0]