Commit a885020c authored by Sergio Bruni's avatar Sergio Bruni

commmit

parent 4251bcdb
......@@ -2061,7 +2061,7 @@ class DaemonGPScarm(DaemonGPS):
return True
class DaemonGPSabruzzo(DaemonGPS):
class DaemonGPSabruzzo_DEPRECATED(DaemonGPS):
def __init__(self, conf_global, conf_rete, immediate=False):
DaemonGPS.__init__(self, conf_global, conf_rete, immediate)
......
......@@ -103,9 +103,9 @@ class FTP_GENERIC:
f.close()
return True
remote_file_full_name = os.path.join(remote_dir_name, remote_file_name)
remote_full_name = os.path.join(remote_dir_name, remote_file_name)
with open(dest_full_name, "wb") as f:
self.ftp.retrbinary("RETR " + remote_file_full_name, f.write)
self.ftp.retrbinary("RETR " + remote_full_name, f.write)
return True
except ftplib.all_errors as e:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment