Do not print open directories to save space
This commit is contained in:
		
							parent
							
								
									4c6d75bb52
								
							
						
					
					
						commit
						c174ebe383
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -116,9 +116,9 @@ for host in sorted(host_data.keys()):
 | 
				
			||||||
    if flen > 0:
 | 
					    if flen > 0:
 | 
				
			||||||
        for f in sorted(data['files']):
 | 
					        for f in sorted(data['files']):
 | 
				
			||||||
            smb_result += "  - {}\n".format(f)
 | 
					            smb_result += "  - {}\n".format(f)
 | 
				
			||||||
    elif dlen > 0:
 | 
					    # elif dlen > 0:
 | 
				
			||||||
        for d in sorted(data['dirs']):
 | 
					    #     for d in sorted(data['dirs']):
 | 
				
			||||||
            smb_result += "  <i>- {}</i>\n".format(d)
 | 
					    #         smb_result += "  <i>- {}</i>\n".format(d)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
###
 | 
					###
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue