Script reporting can now use custom report file & path

This commit is contained in:
Logan Lipke
2021-04-06 17:07:25 -07:00
parent 42d9f4375e
commit f6d8e6463e

View File

@@ -301,8 +301,9 @@ python3 ./test_ipv4_variable_time.py
print('Not supporting this report format or cannot find report format provided. Defaulting to csv data file output type, naming it data.csv.')
report_f = str(path) + '/data.csv'
output = 'csv'
else:
systeminfopath = str(args.report_file).split('/')[-1]
report_f = args.report_file
if args.output_format is None:
output = str(args.report_file).split('.')[-1]