gateway: Remove ftp.quit()

pull/92/head
remittor 7 months ago
parent 1646c8a380
commit a3ca7d18cd

@ -473,10 +473,6 @@ class Gateway():
#=============================================================================== #===============================================================================
def shutdown(self): def shutdown(self):
self.ssh_close() self.ssh_close()
try:
self.ftp.quit()
except Exception:
pass
try: try:
self.ftp.close() self.ftp.close()
except Exception: except Exception:
@ -858,10 +854,6 @@ class Gateway():
ret = -1 ret = -1
finally: finally:
if ftp: if ftp:
try:
ftp.quit()
except Exception:
pass
try: try:
ftp.close() ftp.close()
except Exception: except Exception:

Loading…
Cancel
Save