From 8d0bbd862b0162aa43b016b4f2aa70aac3cf42d0 Mon Sep 17 00:00:00 2001 From: Sundog Date: Fri, 6 Oct 2023 14:41:08 -0400 Subject: [PATCH] remove extraneous comma from string replacement in last commit --- mt_clockwheel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mt_clockwheel.py b/mt_clockwheel.py index 77028b6..81348f9 100644 --- a/mt_clockwheel.py +++ b/mt_clockwheel.py @@ -30,7 +30,7 @@ def main(): os.makedirs(daylist_path) daylist_file = single_date.strftime("%Y") + "-" + single_date.strftime("%m") + "-" + single_date.strftime("%d") + ".json" with open(daylist_path + daylist_file, "w") as file: - daylist = daylist.replace("{},\n","") + daylist = daylist.replace("{},","") file.write(daylist) if verbose: