moving memes out of the meme folder into tmp to be deleted
This commit is contained in:
parent
d3e4c6332c
commit
35e30f33d4
1 changed files with 1 additions and 1 deletions
|
|
@ -507,7 +507,7 @@ async def update_meme_webpage(filename):
|
||||||
with open("phixxy.com/ai-memes/index.html", "w") as f:
|
with open("phixxy.com/ai-memes/index.html", "w") as f:
|
||||||
f.writelines(html_data)
|
f.writelines(html_data)
|
||||||
await upload_sftp("phixxy.com/ai-memes/index.html", server_folder, "index.html")
|
await upload_sftp("phixxy.com/ai-memes/index.html", server_folder, "index.html")
|
||||||
os.rename(filename, f'tmp/{filename}')
|
os.rename(filename, 'tmp/' + new_file_name)
|
||||||
|
|
||||||
|
|
||||||
@bot.command(
|
@bot.command(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue