From a3ca7d18cd9370f4cf6be62fd987c015df73ecb8 Mon Sep 17 00:00:00 2001 From: remittor Date: Wed, 16 Apr 2025 15:17:37 +0300 Subject: [PATCH] gateway: Remove ftp.quit() --- gateway.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/gateway.py b/gateway.py index f9932c5..ea8dcee 100644 --- a/gateway.py +++ b/gateway.py @@ -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: