fix: correct indent for ftp close

This commit is contained in:
Yannik Schmidt
2024-05-31 15:32:02 +02:00
parent 89c30a7d7d
commit 9008df2f3f

View File

@@ -242,8 +242,8 @@ class FTP(DataBackend):
paths = ftp.nlst(fullpath) paths = ftp.nlst(fullpath)
self.paths_listed.update({fullpath: paths}) self.paths_listed.update({fullpath: paths})
if new_connection: # close individual connections if new_connection: # close individual connections
ftp.close() ftp.close()
if not fullpaths: if not fullpaths:
return paths return paths