gateway: Remove ftp.quit()

This commit is contained in:
remittor
2025-04-16 15:17:37 +03:00
parent 1646c8a380
commit a3ca7d18cd
-8
View File
@@ -473,10 +473,6 @@ class Gateway():
#===============================================================================
def shutdown(self):
self.ssh_close()
try:
self.ftp.quit()
except Exception:
pass
try:
self.ftp.close()
except Exception:
@@ -858,10 +854,6 @@ class Gateway():
ret = -1
finally:
if ftp:
try:
ftp.quit()
except Exception:
pass
try:
ftp.close()
except Exception: