diff --git a/mt_clockwheel.py b/mt_clockwheel.py index d312677..77028b6 100644 --- a/mt_clockwheel.py +++ b/mt_clockwheel.py @@ -30,6 +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","") file.write(daylist) if verbose: