[mac_prises] On liste les switches via la fonction dans annuaires_pg
This commit is contained in:
parent
3bd459ea33
commit
98c3eb1e00
2 changed files with 2 additions and 5 deletions
|
@ -64,7 +64,7 @@ if __name__ == '__main__':
|
|||
On envoie sur n threads les n arguments, puis on récupère les sorties
|
||||
et on les enregistre dans une base postgresql
|
||||
"""
|
||||
switches = sys.argv[1:]
|
||||
switches = annuaires_pg.all_switches()
|
||||
date = time.strftime('%F %T')
|
||||
threads = {}
|
||||
output = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue