mirror of
https://github.com/FAUSheppy/homelab_gamevault
synced 2025-12-06 06:51:36 +01:00
fix: correct indent for ftp close
This commit is contained in:
@@ -242,8 +242,8 @@ class FTP(DataBackend):
|
||||
paths = ftp.nlst(fullpath)
|
||||
self.paths_listed.update({fullpath: paths})
|
||||
|
||||
if new_connection: # close individual connections
|
||||
ftp.close()
|
||||
if new_connection: # close individual connections
|
||||
ftp.close()
|
||||
|
||||
if not fullpaths:
|
||||
return paths
|
||||
|
||||
Reference in New Issue
Block a user