From d0c2e969fe5b6e1cb21f5059a460974bc0178c6e Mon Sep 17 00:00:00 2001 From: phixxy Date: Sat, 20 Apr 2024 21:09:28 -0700 Subject: [PATCH] fixed date in blog generation --- cogs/phixxycom.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cogs/phixxycom.py b/cogs/phixxycom.py index 5c1cec9..a44a912 100644 --- a/cogs/phixxycom.py +++ b/cogs/phixxycom.py @@ -247,8 +247,7 @@ class PhixxyCom(commands.Cog): filename = f"{self.data_dir}ai-blog/{time.strftime('%Y-%m-%d')}.md" if os.path.exists(filename) and not force: return - current_struct_time = time.time() - date = time.strftime("%B %d, %Y", current_struct_time) + date = time.strftime("%B %d, %Y") blogpost_file = f"{self.data_dir}blog_topics.txt" if os.path.isfile(blogpost_file): with open(blogpost_file, 'r') as f: