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)
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user