remove extraneous comma from string replacement in last commit

This commit is contained in:
Sundog 2023-10-06 14:41:08 -04:00
parent 3c334f22c5
commit 8d0bbd862b
1 changed files with 1 additions and 1 deletions

View File

@ -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: