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("