Skip to content

Commit

Permalink
Fomat output of data_table.txt with new lines
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtavis committed Apr 17, 2023
1 parent 96b80e6 commit 5969cde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scribe_data/extract_transform/update_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ def num_add_commas(num):

with open("../load/_update_files/data_table.txt", "w+", encoding="utf-8") as f:
for i in range(len(new_table_value_strings)):
f.writelines(new_table_value_strings[i] + current_emoji_data_strings[i])
f.writelines(new_table_value_strings[i] + current_emoji_data_strings[i] + "\n")

# Update data_updates.txt.
data_added_string = ""
Expand Down

0 comments on commit 5969cde

Please sign in to comment.