代码优化

This commit is contained in:
mgw
2024-02-27 17:33:08 +08:00
parent 70038e05c8
commit 586216fa01
2 changed files with 2 additions and 3 deletions

View File

@@ -29,7 +29,6 @@ class FtpController():
logging.info("进入FTP目录 ")
self.ftp.cwd(target_dir) # 切换工作路径
logging.info('FTP目录:%s' % target_dir)
self.ftp.mkd('detection')
remotenames = self.ftp.nlst()
logging.info('FTP目录文件:%s' % remotenames)
for file in remotenames: