Commit Graph

1 Commits (23c62612bd27a21b05e5f4ef9153a82407b0a805)

Author SHA1 Message Date
Alessio Gerace 23c62612bd Open FTP session on the last moment possible
Used to open  fp = open(file_path,'wb') a few lines before it was needed. This shouldn't be too much of a problem but opening and closing it right after eachother keeps the session open for less time and there are less chances on failure.
2023-12-01 16:50:51 +01:00