added time stamp to output files for lf_cisco_power.py , added seconds

This commit is contained in:
Chuck SmileyRekiere
2020-09-21 14:56:45 -06:00
parent 9724b51071
commit 0bad97c7a7
2 changed files with 14 additions and 5 deletions

View File

@@ -804,7 +804,7 @@ python3 test_l3_longevity.py --cisco_ctlr 192.168.100.112 --cisco_dfs True --mgr
radios = args.radio
if args.csv_outfile != None:
current_time = time.strftime("%m_%d_%Y_%H_%M", time.localtime())
current_time = time.strftime("%m_%d_%Y_%H_%M_%S", time.localtime())
csv_outfile = "{}_{}.csv".format(args.csv_outfile,current_time)
print("csv output file : {}".format(csv_outfile))