From 24d15931b089ca3f5d45283a3c0b11e74439b618 Mon Sep 17 00:00:00 2001 From: phixxy Date: Thu, 28 Dec 2023 00:35:09 -0800 Subject: [PATCH] Fixed the bug from hell, worst traceback ive ever seen --- sparkytron3000.py | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/sparkytron3000.py b/sparkytron3000.py index 88f0ac0..146d7fd 100644 --- a/sparkytron3000.py +++ b/sparkytron3000.py @@ -995,17 +995,6 @@ async def website(ctx): await sftp.remove(server_folder+filename) except: print("Couldn't delete", filename) - - '''async def delete_ftp_pngs(server_folder): - client = aioftp.Client() - await client.connect(ftp_server) - await client.login(ftp_username, ftp_password) - await client.change_directory(server_folder) - for path, info in (await client.list()): - if ".png" in path.name: - print("Deleting", path.name) - await client.remove(path.name) - await client.quit()''' async def extract_image_tags(code): count = code.count("