ignore empty rows
This commit is contained in:
@@ -42,6 +42,9 @@ def write_markdown_file(csv_path):
|
||||
print("name_of_category")
|
||||
print(name_of_category)
|
||||
current_category = name_of_category
|
||||
# do nothing if row is empty
|
||||
elif line.split(",")[0] is "":
|
||||
pass
|
||||
else:
|
||||
handle_q_and_a_row(line, list_of_q_and_as, current_category)
|
||||
# break
|
||||
|
||||
Reference in New Issue
Block a user