We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a0e8d0 commit 6d80070Copy full SHA for 6d80070
log2csv.py
@@ -46,6 +46,8 @@ def create_list_of_files_to_convert(args):
46
if log_type in args.log_types:
47
48
table_name = get_table_name(log_type)
49
+ if table_name == False:
50
+ table_name = log_type
51
processor = get_processor(log_type)
52
logger.debug(item)
53
csv_file = f"""{item}.csv"""
@@ -80,7 +82,7 @@ def get_table_name(log_type):
80
82
if log_type in data:
81
83
kv_headers[log_type] = {}
84
table_name = False
- if data[log_type]["table_name"]:
85
+ if "table_name" in data[log_type]:
86
table_name = data[log_type]["table_name"]
87
return table_name
88
0 commit comments