Do not print open directories to save space

This commit is contained in:
Kevin Alberts 2020-04-26 13:30:00 +02:00
parent 4c6d75bb52
commit c174ebe383
Signed by: Kurocon
GPG key ID: BCD496FEBA0C6BC1

View file

@ -116,9 +116,9 @@ for host in sorted(host_data.keys()):
if flen > 0:
for f in sorted(data['files']):
smb_result += " - {}\n".format(f)
elif dlen > 0:
for d in sorted(data['dirs']):
smb_result += " <i>- {}</i>\n".format(d)
# elif dlen > 0:
# for d in sorted(data['dirs']):
# smb_result += " <i>- {}</i>\n".format(d)
###