File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9478,7 +9478,7 @@ def upload_file_to_sftp_file(sftpfile, url):
94789478if (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
94849484else :
@@ -9538,7 +9538,7 @@ def download_file_from_pysftp_string(url):
95389538 sftpfile = download_file_from_pysftp_file (url )
95399539 return sftpfile .read ()
95409540else :
9541- def download_file_from_pyftp_string (url ):
9541+ def download_file_from_pysftp_string (url ):
95429542 return False
95439543
95449544if (havepysftp ):
@@ -9591,11 +9591,11 @@ def upload_file_to_pysftp_file(sftpfile, url):
95919591if (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
95979597else :
9598- def upload_file_to_pysftp_string (url ):
9598+ def upload_file_to_pysftp_string (sftpstring , url ):
95999599 return False
96009600
96019601
You can’t perform that action at this time.
0 commit comments