优化ftp(pdf路径)

This commit is contained in:
jinling.yang
2024-07-31 14:54:15 +08:00
parent f0421b873c
commit 1ea6f649f0

View File

@@ -62,7 +62,7 @@ class FtpController():
server = os.path.join(serverdir, file)
if file.find(".pdf") != -1:
self.download_file(server, file)
return True
return True
except:
return False
finally: