From 0fc6d24f220ea1ccf97ccd815feb402d4c585349 Mon Sep 17 00:00:00 2001 From: Connor Hsu Date: Mon, 7 Jun 2021 18:13:49 +0900 Subject: [PATCH] fix: csv headers of log should contain newline --- tools/flat-distributor/flat-distributor.py | 2 +- tools/proportional-distributor/proportional-distributor.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/flat-distributor/flat-distributor.py b/tools/flat-distributor/flat-distributor.py index 6462219..551f719 100644 --- a/tools/flat-distributor/flat-distributor.py +++ b/tools/flat-distributor/flat-distributor.py @@ -384,7 +384,7 @@ def transfer(input_path, interactive, drop_amount, mint, with open(log_failed, "a") as lfa: lfa.write('recipient,amount,error\n') with open(log_unconfirmed, "a") as lu: - lu.write('recipient,amount,error') + lu.write('recipient,amount,error\n') # endregion print() diff --git a/tools/proportional-distributor/proportional-distributor.py b/tools/proportional-distributor/proportional-distributor.py index 5b476f7..3f7bc23 100644 --- a/tools/proportional-distributor/proportional-distributor.py +++ b/tools/proportional-distributor/proportional-distributor.py @@ -388,7 +388,7 @@ def transfer(input_path, interactive, drop_amount, mint, with open(log_failed, "a") as lfa: lfa.write('recipient,amount,error\n') with open(log_unconfirmed, "a") as lu: - lu.write('recipient,amount,error') + lu.write('recipient,amount,error\n') # endregion print()