Skip to content

Commit edea65f

Browse files
author
Kazuki Suzuki Przyborowski
committed
Update pyfoxfile.py
1 parent 89cd898 commit edea65f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pyfoxfile.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9478,7 +9478,7 @@ def upload_file_to_sftp_file(sftpfile, url):
94789478
if(haveparamiko):
94799479
def upload_file_to_sftp_string(sftpstring, url):
94809480
sftpfileo = BytesIO(sftpstring)
9481-
sftpfile = upload_file_to_sftp_files(ftpfileo, url)
9481+
sftpfile = upload_file_to_sftp_files(sftpfileo, url)
94829482
sftpfileo.close()
94839483
return sftpfile
94849484
else:
@@ -9538,7 +9538,7 @@ def download_file_from_pysftp_string(url):
95389538
sftpfile = download_file_from_pysftp_file(url)
95399539
return sftpfile.read()
95409540
else:
9541-
def download_file_from_pyftp_string(url):
9541+
def download_file_from_pysftp_string(url):
95429542
return False
95439543

95449544
if(havepysftp):
@@ -9591,11 +9591,11 @@ def upload_file_to_pysftp_file(sftpfile, url):
95919591
if(havepysftp):
95929592
def upload_file_to_pysftp_string(sftpstring, url):
95939593
sftpfileo = BytesIO(sftpstring)
9594-
sftpfile = upload_file_to_pysftp_files(ftpfileo, url)
9594+
sftpfile = upload_file_to_pysftp_file(ftpfileo, url)
95959595
sftpfileo.close()
95969596
return sftpfile
95979597
else:
9598-
def upload_file_to_pysftp_string(url):
9598+
def upload_file_to_pysftp_string(sftpstring, url):
95999599
return False
96009600

96019601

0 commit comments

Comments
 (0)