From 082caff2b76e7c614434d3c9889a4631bcd6fcb6 Mon Sep 17 00:00:00 2001 From: phixxy Date: Thu, 18 Jan 2024 00:42:02 -0800 Subject: [PATCH] fixed missing slash after a folder name --- sparkytron3000.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sparkytron3000.py b/sparkytron3000.py index f8ef730..ba7be8c 100644 --- a/sparkytron3000.py +++ b/sparkytron3000.py @@ -77,7 +77,6 @@ async def handle_error(error): async def upload_ftp_ai_images(folder): for filename in os.listdir(folder): - print(filename, filename[-4:]) if filename[-4:] == '.png': filepath = folder + filename prompt = "Unknown Prompt" # Will have to update this later @@ -281,7 +280,7 @@ async def task_loop(): #Run every minute if current_time.tm_sec == 0: await meme_handler('tmp/meme/') - await upload_ftp_ai_images('tmp/sfw') + await upload_ftp_ai_images('tmp/sfw/')