fixed uploading html/pngs in website func... agian
This commit is contained in:
parent
fecace66ed
commit
db775e32ce
1 changed files with 2 additions and 2 deletions
|
|
@ -1068,11 +1068,11 @@ async def website(ctx):
|
||||||
|
|
||||||
for filename in os.listdir(local_folder):
|
for filename in os.listdir(local_folder):
|
||||||
if ".png" in filename:
|
if ".png" in filename:
|
||||||
upload_sftp(filename, (os.getenv('ftp_public_html') + 'ai-webpage/'), filename)
|
await upload_sftp(filename, (os.getenv('ftp_public_html') + 'ai-webpage/'), filename)
|
||||||
#explicitly upload html files last!
|
#explicitly upload html files last!
|
||||||
for filename in os.listdir(local_folder):
|
for filename in os.listdir(local_folder):
|
||||||
if ".html" in filename:
|
if ".html" in filename:
|
||||||
upload_sftp(filename, (os.getenv('ftp_public_html') + 'ai-webpage/'), filename)
|
await upload_sftp(filename, (os.getenv('ftp_public_html') + 'ai-webpage/'), filename)
|
||||||
|
|
||||||
|
|
||||||
server_folder = ftp_public_html + 'ai-webpage/'
|
server_folder = ftp_public_html + 'ai-webpage/'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue