From f02de579ed34cab4297bfc825786688ae957da31 Mon Sep 17 00:00:00 2001 From: phixxy Date: Sat, 20 Apr 2024 21:19:50 -0700 Subject: [PATCH] fixed filepath --- cogs/phixxycom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/phixxycom.py b/cogs/phixxycom.py index 0090aff..18b21ee 100644 --- a/cogs/phixxycom.py +++ b/cogs/phixxycom.py @@ -272,7 +272,7 @@ class PhixxyCom(commands.Cog): content = content.replace(title, '', 1) with open(filepath, 'w') as f: f.write(f"# {title}\n\n*{date}*\n\n{content}") - await self.upload_sftp(filepath, (os.getenv('ftp_public_html') + 'ai-blog/'), filename) + await self.upload_sftp(filepath, (os.getenv('ftp_public_html') + 'ai-blog/content/'), filename) run_time = time.time() - start_time self.logger.debug("It took " + str(run_time) + " seconds to generate the blog post!") output = f"Blog Updated! ({run_time} seconds) {title} https://ai.phixxy.com/ai-blog"