Do not print open directories to save space
This commit is contained in:
parent
4c6d75bb52
commit
c174ebe383
|
@ -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)
|
||||
|
||||
|
||||
###
|
||||
|
|
Loading…
Reference in a new issue