commented out write_to_csv, added seconds to file name, fixed missing datapoint

This commit is contained in:
Dipti
2021-02-10 22:56:34 -08:00
parent 5ca632527c
commit 81a502b182
3 changed files with 31 additions and 30 deletions

View File

@@ -273,8 +273,8 @@ python3 ./test_ipv4_variable_time.py
# in new folder based in current file's directory
if args.report_file is None:
new_file_path = str(datetime.datetime.now().strftime("%Y-%m-%d-%H-%M")).replace(':',
'-') + 'test_ipv4_variable_time' # create path name
new_file_path = str(datetime.datetime.now().strftime("%Y-%m-%d-%H-%M-%S")).replace(':',
'-') + '-test_ipv4_variable_time' # create path name
try:
path = os.path.join('/home/lanforge/report-data/', new_file_path)
os.mkdir(path)